Skip to content
Snippets Groups Projects
Commit 8d17ef8c authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

fix deprecated CI variable

parent 305acb14
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,9 @@ stages:
build:
stage: build
script:
- docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME"
- docker login -u gitlab-ci-token -p "$CI_JOB_TOKEN" registry-gitlab.pasteur.fr
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
extract:
# same name for sequentiel treatment (extract after build)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment