This commit is contained in:
gunnar
2026-06-05 18:50:35 +02:00
parent 2031488202
commit 808264b0ad
+6 -4
View File
@@ -72,15 +72,17 @@ jobs:
- name: Build Image - name: Build Image
run: | run: |
# Labels zeilenweise mit dem --label Flag versehen und in einer Variable puffern
BUILDAH_LABELS=$(echo "${{ steps.metadata.outputs.labels }}" | sed 's/^/--label /')
podman build \ podman build \
-f ./Containerfile \ -f ./Containerfile \
-t "localhost/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}" \ -t "localhost/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}" \
$BUILDAH_LABELS \ --label "org.opencontainers.image.title=${{ env.IMAGE_NAME }}" \
--label "org.opencontainers.image.description=${{ env.IMAGE_DESC }}" \
--label "org.opencontainers.image.vendor=${{ github.repository_owner }}" \
--label "containers.bootc=1" \
--label "ostree.bootable=1" \
. .
- name: Rechunk with chunkah - name: Rechunk with chunkah
run: | run: |
set -euo pipefail set -euo pipefail