mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-11-03 12:18:08 +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
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [ -f docker-compose.test.yml ]; then
|
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
|
docker-compose --file docker-compose.test.yml run sut
|
||||||
else
|
else
|
||||||
docker build . --file Dockerfile --build-arg NPM_TOKEN=${{secrets.NPM_REPO_AUTH_TOKEN}}
|
docker build . --file Dockerfile --build-arg NPM_TOKEN=${{secrets.NPM_REPO_AUTH_TOKEN}}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
sut:
|
sut:
|
||||||
build:
|
build: .
|
||||||
context: .
|
|
||||||
args:
|
|
||||||
NPM_TOKEN: ${{secrets.NPM_REPO_AUTH_TOKEN}}
|
|
||||||
command: npm test
|
command: npm test
|
||||||
Reference in New Issue
Block a user