diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 203819d08f80111dc53ca24f4fbf89c1b9270f2c..cad533d028e32f668e421e340b8f444ac425d55c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,14 +111,13 @@ maven-package: stage: package script: - ./mvnw -ntp verify -Pprod -DskipTests -Dmaven.repo.local=$MAVEN_USER_HOME - artifacts: - paths: - - target/*.jar - - target/classes - expire_in: 15 days + # Uncomment the following line to use gitlabs container registry. You need to adapt the REGISTRY_URL in case you are not using gitlab.com docker-push: stage: release + only: + refs: + - development variables: REGISTRY_URL: sharing-codeability.uibk.ac.at:5051 IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform