diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fdd299c78ab55be4146f5153c68734c27af7595..374807fd75a07cf9d8ecee9fc87f901e523b94bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,7 +123,7 @@ docker-push: REGISTRY_URL: sharing-codeability.uibk.ac.at:5051 IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform rules: - - if: $CI_COMMIT_BRANCH == "publish_docker_image" + - if: $CI_COMMIT_BRANCH == "development" script: - ./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME - ./mvnw -ntp jib:build -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME