mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-02 19:57:58 +00:00
update docker
This commit is contained in:
2
.github/workflows/dockerpublish.yml
vendored
2
.github/workflows/dockerpublish.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [ -f docker-compose.test.yml ]; then
|
||||
docker-compose --file docker-compose.test.yml build
|
||||
docker-compose --file docker-compose.test.yml build --build-arg NPM_TOKEN=${{secrets.NPM_REPO_AUTH_TOKEN}}
|
||||
docker-compose --file docker-compose.test.yml run sut
|
||||
else
|
||||
docker build . --file Dockerfile --build-arg NPM_TOKEN=${{secrets.NPM_REPO_AUTH_TOKEN}}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
sut:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
NPM_TOKEN: ${{secrets.NPM_REPO_AUTH_TOKEN}}
|
||||
build: .
|
||||
command: npm test
|
||||
Reference in New Issue
Block a user