Changed docker login around

This commit is contained in:
Joe Bellus 2022-02-17 10:26:42 -05:00
parent 5a8689d81e
commit 426bedffa3
1 changed files with 1 additions and 6 deletions

View File

@ -116,17 +116,12 @@ deploy-dev-docker:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
deploy-prod-docker:
variables:
CI_REGISTRY_USER: $DOCKERHUB_USER
CI_REGISTRY_PASSWORD: $DOCKERHUB_PASS
CI_REGISTRY: docker.io
CI_REGISTRY_IMAGE: index.docker.io/fivesigma/vade
dependencies:
- build-musl-bin
stage: deploy
image: docker:latest
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD_PASS $CI_REGISTRY
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS docker.io
- docker build -t fivesigma/vade .
- docker push fivesigma/vade
# rules: