Verified Commit b8941d60 authored by Pierre-Louis Bonicoli's avatar Pierre-Louis Bonicoli 🏗
Browse files

Build Stretch image too, tags: use Debian codenames

parent f05a0cd8
FROM docker.io/debian:buster
ARG DEBIAN_RELEASE=buster
FROM docker.io/debian:${DEBIAN_RELEASE}
RUN apt-get update && \
apt-get install -y python3 sudo bash ca-certificates iproute2 python3-apt systemd-sysv && \
......
---
- job:
name: kaniko-build-image-debian-systemd
name: kaniko-build-image-debian-systemd-stretch
parent: kaniko-build-quay-pilou # from forge.tedomum.net/pilou/zuul-project-config
vars:
kaniko_registry: quay.io
kaniko_images:
- context: Dockerfile
repository: pilou/debian-systemd
build_args: [DEBIAN_RELEASE=stretch]
tags: [stretch]
- job:
name: kaniko-build-image-debian-systemd-buster
parent: kaniko-build-quay-pilou # from forge.tedomum.net/pilou/zuul-project-config
vars:
kaniko_registry: quay.io
kaniko_images:
- context: Dockerfile
repository: pilou/debian-systemd
build_args: [DEBIAN_RELEASE=buster]
tags: [buster]
- project:
check:
jobs:
- kaniko-build-image-debian-systemd
- kaniko-build-image-debian-systemd-stretch
- kaniko-build-image-debian-systemd-buster
# TODO once available:
# check pipeline: use approval reporter (zuul)
# set approvals_required to 2: zuul & one developer (gitlab)
......@@ -19,4 +33,5 @@
# promote pipeline with merged requirement (add the 'latest' tag without rebuilding the image)
promote:
jobs:
- kaniko-build-image-debian-systemd
- kaniko-build-image-debian-systemd-stretch
- kaniko-build-image-debian-systemd-buster
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