diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cce51e..32f49e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,14 +116,19 @@ 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 $DOCKERHUB_USER -p $DOCKERHUB_PASS - - docker build -t https://index.docker.io/v1/fivesigma/vade . - - docker push https://index.docker.io/v1/fivesigma/vade + - docker build -t fivesigma/vade . + - docker push fivesigma/vade # rules: # - if: $CI_COMMIT_TAG