Skip to content
Snippets Groups Projects
Commit a4aea276 authored by Maria Petrova-El Sayed's avatar Maria Petrova-El Sayed
Browse files

Update .gitlab-ci.yml use deploy token credentials for the CI registry

parent b6e551b1
No related branches found
No related tags found
2 merge requests!3Update .gitlab-ci.yml,!2Merge CI/CD settings and get current progress on docker-compose
Pipeline #70717 failed
......@@ -75,7 +75,7 @@ transfer_image:
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY
- docker build --no-cache=true --pull -f ./apiserver/Dockerfile -t $IMAGE_TAG .
- docker push $IMAGE_TAG
# only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment