intellij-idea-pkg-image/.gitlab-ci.yml

21 lines
579 B
YAML
Raw Normal View History

2023-07-27 17:36:09 +02:00
build:
stage: build
image:
2024-09-03 07:07:05 +02:00
name: gcr.io/kaniko-project/executor:v1.23.2-debug
2023-07-27 17:36:09 +02:00
entrypoint: [""]
script:
- sed -i "s/ubuntu:latest/ubuntu:${UBUNTU_VERSION}/" "${CI_PROJECT_DIR}/Dockerfile"
2023-07-27 17:36:09 +02:00
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:${UBUNTU_VERSION}"
parallel:
matrix:
2024-11-13 16:46:10 +01:00
- UBUNTU_VERSION: [trusty, xenial, bionic, focal, jammy, noble, oracular]
2023-07-27 17:36:09 +02:00
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_PIPELINE_SOURCE == "schedule"