From 4c4ce91d9a025e507babf5867f52d27f7a8fb07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Mart=C3=ADn?= Date: Thu, 31 Jul 2025 13:03:35 +0200 Subject: [PATCH] chore: add org.opencontainers.image.version label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the corresponding `org.opencontainers.image.version` label to container images built by konflux Related: https://gitlab.com/fedora/bootc/tekton-catalog/-/issues/2 Signed-off-by: Miguel Martín --- .tekton/fedora-bootc-42-iot-pull-request.yaml | 3 +++ .tekton/fedora-bootc-42-iot-push.yaml | 3 +++ .tekton/fedora-bootc-42-iot-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-plus-pull-request.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-plus-push.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-plus-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-pull-request.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-push.yaml | 3 +++ .tekton/fedora-bootc-42-minimal-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-42-standard-pull-request.yaml | 3 +++ .tekton/fedora-bootc-42-standard-push.yaml | 3 +++ .tekton/fedora-bootc-42-standard-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-43-iot-pull-request.yaml | 2 +- .tekton/fedora-bootc-43-iot-push.yaml | 2 +- .tekton/fedora-bootc-43-iot-renovate-push.yaml | 2 +- .tekton/fedora-bootc-43-minimal-plus-pull-request.yaml | 2 +- .tekton/fedora-bootc-43-minimal-plus-push.yaml | 2 +- .tekton/fedora-bootc-43-minimal-plus-renovate-push.yaml | 2 +- .tekton/fedora-bootc-43-minimal-pull-request.yaml | 2 +- .tekton/fedora-bootc-43-minimal-push.yaml | 2 +- .tekton/fedora-bootc-43-minimal-renovate-push.yaml | 2 +- .tekton/fedora-bootc-43-standard-pull-request.yaml | 2 +- .tekton/fedora-bootc-43-standard-push.yaml | 2 +- .tekton/fedora-bootc-43-standard-renovate-push.yaml | 2 +- .tekton/fedora-bootc-rawhide-iot-pull-request.yaml | 3 +++ .tekton/fedora-bootc-rawhide-iot-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-iot-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-plus-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-plus-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-pull-request.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-minimal-renovate-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-standard-pull-request.yaml | 3 +++ .tekton/fedora-bootc-rawhide-standard-push.yaml | 3 +++ .tekton/fedora-bootc-rawhide-standard-renovate-push.yaml | 3 +++ Containerfile | 5 +---- 37 files changed, 85 insertions(+), 16 deletions(-) diff --git a/.tekton/fedora-bootc-42-iot-pull-request.yaml b/.tekton/fedora-bootc-42-iot-pull-request.yaml index 1a3c98f..8d092be 100644 --- a/.tekton/fedora-bootc-42-iot-pull-request.yaml +++ b/.tekton/fedora-bootc-42-iot-pull-request.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-iot:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-iot-push.yaml b/.tekton/fedora-bootc-42-iot-push.yaml index 8fec1e2..36a306c 100644 --- a/.tekton/fedora-bootc-42-iot-push.yaml +++ b/.tekton/fedora-bootc-42-iot-push.yaml @@ -51,6 +51,9 @@ spec: - MANIFEST=fedora-iot - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-iot:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-iot-renovate-push.yaml b/.tekton/fedora-bootc-42-iot-renovate-push.yaml index 2f9889a..17c62e0 100644 --- a/.tekton/fedora-bootc-42-iot-renovate-push.yaml +++ b/.tekton/fedora-bootc-42-iot-renovate-push.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-iot:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-plus-pull-request.yaml b/.tekton/fedora-bootc-42-minimal-plus-pull-request.yaml index ef54891..b2919dd 100644 --- a/.tekton/fedora-bootc-42-minimal-plus-pull-request.yaml +++ b/.tekton/fedora-bootc-42-minimal-plus-pull-request.yaml @@ -52,6 +52,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal-plus:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-plus-push.yaml b/.tekton/fedora-bootc-42-minimal-plus-push.yaml index f0311e8..2437516 100644 --- a/.tekton/fedora-bootc-42-minimal-plus-push.yaml +++ b/.tekton/fedora-bootc-42-minimal-plus-push.yaml @@ -49,6 +49,9 @@ spec: - MANIFEST=fedora-minimal-plus - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal-plus:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-plus-renovate-push.yaml b/.tekton/fedora-bootc-42-minimal-plus-renovate-push.yaml index e817caa..76b9ae2 100644 --- a/.tekton/fedora-bootc-42-minimal-plus-renovate-push.yaml +++ b/.tekton/fedora-bootc-42-minimal-plus-renovate-push.yaml @@ -52,6 +52,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal-plus:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-pull-request.yaml b/.tekton/fedora-bootc-42-minimal-pull-request.yaml index eea1da8..3bedcf0 100644 --- a/.tekton/fedora-bootc-42-minimal-pull-request.yaml +++ b/.tekton/fedora-bootc-42-minimal-pull-request.yaml @@ -50,6 +50,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-push.yaml b/.tekton/fedora-bootc-42-minimal-push.yaml index 7727520..c06ca01 100644 --- a/.tekton/fedora-bootc-42-minimal-push.yaml +++ b/.tekton/fedora-bootc-42-minimal-push.yaml @@ -47,6 +47,9 @@ spec: - MANIFEST=fedora-minimal - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-minimal-renovate-push.yaml b/.tekton/fedora-bootc-42-minimal-renovate-push.yaml index 97454df..e672e26 100644 --- a/.tekton/fedora-bootc-42-minimal-renovate-push.yaml +++ b/.tekton/fedora-bootc-42-minimal-renovate-push.yaml @@ -50,6 +50,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-minimal:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-standard-pull-request.yaml b/.tekton/fedora-bootc-42-standard-pull-request.yaml index 3d43525..188399d 100644 --- a/.tekton/fedora-bootc-42-standard-pull-request.yaml +++ b/.tekton/fedora-bootc-42-standard-pull-request.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-standard:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-standard-push.yaml b/.tekton/fedora-bootc-42-standard-push.yaml index 84d3119..9a3f417 100644 --- a/.tekton/fedora-bootc-42-standard-push.yaml +++ b/.tekton/fedora-bootc-42-standard-push.yaml @@ -51,6 +51,9 @@ spec: - MANIFEST=fedora-standard - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-standard:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-42-standard-renovate-push.yaml b/.tekton/fedora-bootc-42-standard-renovate-push.yaml index 681486e..8b058f9 100644 --- a/.tekton/fedora-bootc-42-standard-renovate-push.yaml +++ b/.tekton/fedora-bootc-42-standard-renovate-push.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-42-standard:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=42 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-iot-pull-request.yaml b/.tekton/fedora-bootc-43-iot-pull-request.yaml index e874d81..1616543 100644 --- a/.tekton/fedora-bootc-43-iot-pull-request.yaml +++ b/.tekton/fedora-bootc-43-iot-pull-request.yaml @@ -56,7 +56,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:on-pr-{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-iot-push.yaml b/.tekton/fedora-bootc-43-iot-push.yaml index eadcb11..1845c21 100644 --- a/.tekton/fedora-bootc-43-iot-push.yaml +++ b/.tekton/fedora-bootc-43-iot-push.yaml @@ -53,7 +53,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-iot-renovate-push.yaml b/.tekton/fedora-bootc-43-iot-renovate-push.yaml index 19fac04..e51e6dc 100644 --- a/.tekton/fedora-bootc-43-iot-renovate-push.yaml +++ b/.tekton/fedora-bootc-43-iot-renovate-push.yaml @@ -56,7 +56,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-iot:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-plus-pull-request.yaml b/.tekton/fedora-bootc-43-minimal-plus-pull-request.yaml index daf6c46..df389c0 100644 --- a/.tekton/fedora-bootc-43-minimal-plus-pull-request.yaml +++ b/.tekton/fedora-bootc-43-minimal-plus-pull-request.yaml @@ -54,7 +54,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal-plus:on-pr-{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-plus-push.yaml b/.tekton/fedora-bootc-43-minimal-plus-push.yaml index 42ddcb0..1e940ae 100644 --- a/.tekton/fedora-bootc-43-minimal-plus-push.yaml +++ b/.tekton/fedora-bootc-43-minimal-plus-push.yaml @@ -51,7 +51,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal-plus:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-plus-renovate-push.yaml b/.tekton/fedora-bootc-43-minimal-plus-renovate-push.yaml index 7fb752d..72ddf93 100644 --- a/.tekton/fedora-bootc-43-minimal-plus-renovate-push.yaml +++ b/.tekton/fedora-bootc-43-minimal-plus-renovate-push.yaml @@ -54,7 +54,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal-plus:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-pull-request.yaml b/.tekton/fedora-bootc-43-minimal-pull-request.yaml index c44f7b4..1557dae 100644 --- a/.tekton/fedora-bootc-43-minimal-pull-request.yaml +++ b/.tekton/fedora-bootc-43-minimal-pull-request.yaml @@ -52,7 +52,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal:on-pr-{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-push.yaml b/.tekton/fedora-bootc-43-minimal-push.yaml index 22c9ac3..ba262a8 100644 --- a/.tekton/fedora-bootc-43-minimal-push.yaml +++ b/.tekton/fedora-bootc-43-minimal-push.yaml @@ -49,7 +49,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-minimal-renovate-push.yaml b/.tekton/fedora-bootc-43-minimal-renovate-push.yaml index 03315ed..dd1a256 100644 --- a/.tekton/fedora-bootc-43-minimal-renovate-push.yaml +++ b/.tekton/fedora-bootc-43-minimal-renovate-push.yaml @@ -52,7 +52,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-minimal:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-standard-pull-request.yaml b/.tekton/fedora-bootc-43-standard-pull-request.yaml index 649edd1..7b4a898 100644 --- a/.tekton/fedora-bootc-43-standard-pull-request.yaml +++ b/.tekton/fedora-bootc-43-standard-pull-request.yaml @@ -56,7 +56,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-standard:on-pr-{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-standard-push.yaml b/.tekton/fedora-bootc-43-standard-push.yaml index b2d4fe2..0599e64 100644 --- a/.tekton/fedora-bootc-43-standard-push.yaml +++ b/.tekton/fedora-bootc-43-standard-push.yaml @@ -53,7 +53,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-standard:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-43-standard-renovate-push.yaml b/.tekton/fedora-bootc-43-standard-renovate-push.yaml index afc9d2d..30a3f9a 100644 --- a/.tekton/fedora-bootc-43-standard-renovate-push.yaml +++ b/.tekton/fedora-bootc-43-standard-renovate-push.yaml @@ -56,7 +56,7 @@ spec: value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-43-standard:{{revision}} - name: labels value: - - org.opencontainers.version=43 + - org.opencontainers.image.version=43 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-iot-pull-request.yaml b/.tekton/fedora-bootc-rawhide-iot-pull-request.yaml index 5a30ea1..280d505 100644 --- a/.tekton/fedora-bootc-rawhide-iot-pull-request.yaml +++ b/.tekton/fedora-bootc-rawhide-iot-pull-request.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-iot:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-iot-push.yaml b/.tekton/fedora-bootc-rawhide-iot-push.yaml index 2c224ec..3a840d1 100644 --- a/.tekton/fedora-bootc-rawhide-iot-push.yaml +++ b/.tekton/fedora-bootc-rawhide-iot-push.yaml @@ -51,6 +51,9 @@ spec: - MANIFEST=fedora-iot - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-iot:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-iot-renovate-push.yaml b/.tekton/fedora-bootc-rawhide-iot-renovate-push.yaml index daab927..f7524d1 100644 --- a/.tekton/fedora-bootc-rawhide-iot-renovate-push.yaml +++ b/.tekton/fedora-bootc-rawhide-iot-renovate-push.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-iot:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml b/.tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml index c0aa32b..ad9568c 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-plus-pull-request.yaml @@ -52,6 +52,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-plus-push.yaml b/.tekton/fedora-bootc-rawhide-minimal-plus-push.yaml index 0bc82da..21f93ed 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-plus-push.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-plus-push.yaml @@ -49,6 +49,9 @@ spec: - MANIFEST=fedora-minimal-plus - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-plus-renovate-push.yaml b/.tekton/fedora-bootc-rawhide-minimal-plus-renovate-push.yaml index b123de0..a95c41e 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-plus-renovate-push.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-plus-renovate-push.yaml @@ -52,6 +52,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal-plus:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-pull-request.yaml b/.tekton/fedora-bootc-rawhide-minimal-pull-request.yaml index 82f57d6..3d00bf3 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-pull-request.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-pull-request.yaml @@ -50,6 +50,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-push.yaml b/.tekton/fedora-bootc-rawhide-minimal-push.yaml index 91dba4f..8a5311a 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-push.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-push.yaml @@ -47,6 +47,9 @@ spec: - MANIFEST=fedora-minimal - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-minimal-renovate-push.yaml b/.tekton/fedora-bootc-rawhide-minimal-renovate-push.yaml index 28cd6d5..2081c40 100644 --- a/.tekton/fedora-bootc-rawhide-minimal-renovate-push.yaml +++ b/.tekton/fedora-bootc-rawhide-minimal-renovate-push.yaml @@ -50,6 +50,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-minimal:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-standard-pull-request.yaml b/.tekton/fedora-bootc-rawhide-standard-pull-request.yaml index abc31b3..fa035e1 100644 --- a/.tekton/fedora-bootc-rawhide-standard-pull-request.yaml +++ b/.tekton/fedora-bootc-rawhide-standard-pull-request.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-standard:on-pr-{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-standard-push.yaml b/.tekton/fedora-bootc-rawhide-standard-push.yaml index 36f79ad..a474a85 100644 --- a/.tekton/fedora-bootc-rawhide-standard-push.yaml +++ b/.tekton/fedora-bootc-rawhide-standard-push.yaml @@ -51,6 +51,9 @@ spec: - MANIFEST=fedora-standard - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-standard:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/.tekton/fedora-bootc-rawhide-standard-renovate-push.yaml b/.tekton/fedora-bootc-rawhide-standard-renovate-push.yaml index d079915..9d845c3 100644 --- a/.tekton/fedora-bootc-rawhide-standard-renovate-push.yaml +++ b/.tekton/fedora-bootc-rawhide-standard-renovate-push.yaml @@ -54,6 +54,9 @@ spec: value: 5d - name: output-image value: quay.io/konflux-fedora/bootc-tenant/fedora-bootc-rawhide-standard:{{revision}} + - name: labels + value: + - org.opencontainers.image.version=44 pipelineRef: params: - name: bundle diff --git a/Containerfile b/Containerfile index f0d2735..90bad06 100644 --- a/Containerfile +++ b/Containerfile @@ -56,10 +56,7 @@ EORUN # This pulls in the rootfs generated in the previous step FROM scratch COPY --from=builder /target-rootfs/ / -# Note in practice this won't be right in a cross build, so we don't -# set it here. This placeholder is just to note that it *should* be set -# by the larger build system (e.g. Konflux). -LABEL org.opencontainers.image.version 43 + LABEL containers.bootc 1 # This is an ad-hoc way for us to reference bootc-image-builder in # a way that in theory client tooling can inspect and find. Today