Commit a72a4d46 authored by Matija Obreza's avatar Matija Obreza

Use Docker image from dockerhub.croptrust.org/docker/custom/maven-with-compass:latest

parent 3249a4f0
......@@ -10,14 +10,14 @@ stages:
compile and test:
stage: compile
image: dockerhub.genesys-pgr.org/maven-with-compass:3-jdk-8
image: dockerhub.croptrust.org/docker/custom/maven-with-compass:latest
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn compile test -B
.package_template: &maven_package
image: dockerhub.genesys-pgr.org/maven-with-compass:3-jdk-8
image: dockerhub.croptrust.org/docker/custom/maven-with-compass:latest
script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn package -B
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn package -DskipTests -B
artifacts:
name: "${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME}"
expire_in: 1 day
......
Markdown is supported
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