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