From 333ca1a93266043e541a959a3509bb2eaa9a6bc4 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Thu, 29 Oct 2020 19:12:45 +0100 Subject: [PATCH] Still trying to get auto-deploy to work 2 Signed-off-by: Louis Vallat --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79bc892..c5e0fb5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,6 @@ variables: before_script: - export GRADLE_USER_HOME=`pwd`/.gradle - - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY build: image: gradle:jdk15 @@ -50,6 +49,7 @@ release-image: stage: release script: - docker info + - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker pull $CONTAINER_TEST_IMAGE - docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE - docker push $CONTAINER_RELEASE_IMAGE