Skip to content
Snippets Groups Projects
Commit f5d1c52a authored by Max Lou's avatar Max Lou
Browse files

Update .gitlab-ci.yml file

parent d4ba68eb
Branches
No related tags found
No related merge requests found
......@@ -31,5 +31,7 @@ dashboard-example-docker-build:
- echo CI_PROJECT_ID=$CI_PROJECT_ID >> .env
- echo CI_JOB_TOKEN=$CI_JOB_TOKEN >> .env
- cat .env
- echo '@polaris:registry="https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/"\n//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken="${CI_JOB_TOKEN}""' > ./src/.npmrc
- cat ./src/.npmrc
- docker build --pull -t "$CI_REGISTRY_IMAGE${tag}/dashboard-example" .
- docker push "$CI_REGISTRY_IMAGE${tag}/dashboard-example"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment