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: ...@@ -8,15 +8,15 @@ maven-jdk8:
- docker build -t $CI_REGISTRY_IMAGE/maven-jdk8 --file=Dockerfile.maven-jdk8 . - docker build -t $CI_REGISTRY_IMAGE/maven-jdk8 --file=Dockerfile.maven-jdk8 .
- docker push $CI_REGISTRY_IMAGE/maven-jdk8 - docker push $CI_REGISTRY_IMAGE/maven-jdk8
maven-jdk9: maven-jdk11:
stage: build stage: build
image: docker:latest image: docker:latest
services: services:
- docker:dind - docker:dind
script: script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - 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 build -t $CI_REGISTRY_IMAGE/maven-jdk11 --file=Dockerfile.maven-jdk11 .
- docker push $CI_REGISTRY_IMAGE/maven-jdk9 - docker push $CI_REGISTRY_IMAGE/maven-jdk11
linkchecker: linkchecker:
stage: build stage: build
......
from debian:sid from debian:sid
env DEBIAN_FRONTEND noninteractive env DEBIAN_FRONTEND noninteractive
run apt-get update \ run apt-get update \
&& apt-get install -y openjdk-9-jdk maven \ && apt-get install -y openjdk-11-jdk maven \
&& apt-get clean && 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