From 426bedffa3380da21f7783e98639055c8be95781 Mon Sep 17 00:00:00 2001 From: Joe Bellus Date: Thu, 17 Feb 2022 10:26:42 -0500 Subject: [PATCH] Changed docker login around --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54767a9..d2ac2e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: