fix login flags

This commit is contained in:
semvervot 2021-10-18 11:02:08 -07:00
parent 0856d26fc7
commit aa92c7e5e0

View File

@ -61,8 +61,7 @@ build-push:
- integration - integration
#script: #script:
# - TAG=$CI_Cbefore_script: # - TAG=$CI_Cbefore_script:
before_script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRYOMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA sh ./scripts/build-push.sh
script: script:
- TAG=$(cat ./version) ./scripts/build-push.sh - TAG=$(cat ./version) ./scripts/build-push.sh
rules: rules: