1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

Containerfile: add generic com.coreos.stream label

Add a new `com.coreos.stream` label to the built image to provide a
consistent way to identify the stream across both FCOS and RHCOS images.
This is needed for Jenkins jobs that import images via `cosa import`
from Konflux builds, allowing them to determine the stream of the imported OCI image.

See: https://issues.redhat.com/browse/COS-3604
This commit is contained in:
Roshan-R
2025-11-04 11:31:16 +05:30
committed by Joel Capitao
parent 8b239e6e0c
commit 534a374923

View File

@@ -48,7 +48,7 @@ RUN --mount=type=bind,target=/run/src,rw \
--bootc --format-version=1 --rootfs /target-rootfs \
--output oci-archive:/run/src/out.ociarchive \
--label com.coreos.inputhash=$(cat /run/inputhash) \
--label fedora-coreos.stream=$STREAM
--label com.coreos.stream=$STREAM
FROM oci-archive:./out.ociarchive
ARG VERSION