Commit 9be5ee49 authored by Thomas Clavier's avatar Thomas Clavier

Move from jdk9 to jdk11

parent b1ea5ac1
Pipeline #41289283 passed with stage
in 3 minutes and 40 seconds
......@@ -8,15 +8,15 @@ maven-jdk8:
- docker build -t $CI_REGISTRY_IMAGE/maven-jdk8 --file=Dockerfile.maven-jdk8 .
- docker push $CI_REGISTRY_IMAGE/maven-jdk8
stage: build
image: docker:latest
- docker:dind
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/maven-jdk9 --file=Dockerfile.maven-jdk9 .
- docker push $CI_REGISTRY_IMAGE/maven-jdk9
- docker build -t $CI_REGISTRY_IMAGE/maven-jdk11 --file=Dockerfile.maven-jdk11 .
- docker push $CI_REGISTRY_IMAGE/maven-jdk11
stage: build
from debian:sid
env DEBIAN_FRONTEND noninteractive
run apt-get update \
&& apt-get install -y openjdk-9-jdk maven \
&& apt-get install -y openjdk-11-jdk maven \
&& apt-get clean
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