This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 99ef7a7d authored by Lukas Kaltenbrunner's avatar Lukas Kaltenbrunner
Browse files

Update .gitlab-ci.yml

parent 1bf1f21c
Branches
Tags
No related merge requests found
...@@ -35,13 +35,13 @@ maven-compile: ...@@ -35,13 +35,13 @@ maven-compile:
# # DinD service is required for Testcontainers # # DinD service is required for Testcontainers
# services: # services:
# - docker:dind # - docker:dind
# #
# variables: # variables:
# # Instruct Testcontainers to use the daemon of DinD. # # Instruct Testcontainers to use the daemon of DinD.
# DOCKER_HOST: 'tcp://docker:2375' # DOCKER_HOST: 'tcp://docker:2375'
# # Improve performance with overlayfs. # # Improve performance with overlayfs.
# DOCKER_DRIVER: overlay2 # DOCKER_DRIVER: overlay2
# #
# stage: test # stage: test
# script: # script:
# - ./mvnw -ntp verify -P-webpack -Dmaven.repo.local=$MAVEN_USER_HOME -Dspring.profiles.active=testcontainers # - ./mvnw -ntp verify -P-webpack -Dmaven.repo.local=$MAVEN_USER_HOME -Dspring.profiles.active=testcontainers
...@@ -78,6 +78,8 @@ maven-package: ...@@ -78,6 +78,8 @@ maven-package:
# Uncomment the following line to use gitlabs container registry. You need to adapt the REGISTRY_URL in case you are not using gitlab.com # 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: docker-push:
stage: release stage: release
only:
- master
variables: variables:
REGISTRY_URL: docker.uibk.ac.at:443 REGISTRY_URL: docker.uibk.ac.at:443
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHA IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHA
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment