Commit 91650691 authored by j.hoerdt's avatar j.hoerdt
Browse files

bumb jdk version to 15 in ci

I don't yet have a solution to keep it in sync with Dockerfile /
update both automatically
parent e13876d9
buildjarfile:
image: gradle:jdk14
script: |
gradle test jar javadoc
artifacts:
paths:
- graphdb.gwdg.de.certificate
- logging.properties
- build/docs/javadoc
- build/libs/sensor2graph.jar
- build/reports/tests/test
buildimage:
only:
refs:
- master
image:
name: $CI_REGISTRY/j.hoerdt/sensor2graph/kaniko
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
buildjarfile:
image: gradle:jdk15
script: |
gradle test jar javadoc
artifacts:
paths:
- graphdb.gwdg.de.certificate
- logging.properties
- build/docs/javadoc
- build/libs/sensor2graph.jar
- build/reports/tests/test
buildimage:
only:
refs:
- master
image:
name: $CI_REGISTRY/j.hoerdt/sensor2graph/kaniko
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
Supports Markdown
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