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

Update .gitlab-ci.yml file

parent 9796a211
Branches
No related tags found
No related merge requests found
......@@ -27,12 +27,5 @@ dashboard-example-docker-build:
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
# Build Backend Docker Container
- echo CI_SERVER_HOST=$CI_SERVER_HOST > .env
- echo CI_PROJECT_ID=$CI_PROJECT_ID >> .env
- echo CI_JOB_TOKEN=$CI_JOB_TOKEN >> .env
- cat .env
#- echo "@polaris/dashboard-sdk:registry=\"https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/\"" > .npmrc
#- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\"${CI_JOB_TOKEN}\"" >> .npmrc
- cat .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