Skip to content
Snippets Groups Projects
Verified Commit 06b22f7a authored by Benjamin LEGROS's avatar Benjamin LEGROS
Browse files

feat: added eclipse temurin images

parent 60847148
No related branches found
No related tags found
No related merge requests found
Pipeline #77794 passed
stages:
- build
- bundle
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
ECLIPSE_TEMURIN_IMAGE_NAME: "eclipse-temurin"
ECLIPSE_TEMURIN_IMAGE: $CI_REGISTRY_IMAGE/$ECLIPSE_TEMURIN_IMAGE_NAME
build_eclipse_temurin:
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
tags:
- docker
script:
- export
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(echo -n ${CI_REGISTRY_USER}:${CI_REGISTRY_PASSWORD} | base64)\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR/eclipse-temurin/17 --dockerfile $CI_PROJECT_DIR/eclipse-temurin/17/Dockerfile --destination ${ECLIPSE_TEMURIN_IMAGE}:17-jre-alpine
- /kaniko/executor --context $CI_PROJECT_DIR/eclipse-temurin/21 --dockerfile $CI_PROJECT_DIR/eclipse-temurin/21/Dockerfile --destination ${ECLIPSE_TEMURIN_IMAGE}:21-jre-alpine
when: manual
only:
- main
FROM eclipse-temurin:17-jre-alpine
FROM eclipse-temurin:21-jre-alpine
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment