set podman variables

This commit is contained in:
gunnar
2026-06-05 20:22:06 +02:00
parent fc722fe8f8
commit e414033965
+5 -4
View File
@@ -72,13 +72,14 @@ jobs:
- name: Build Image - name: Build Image
run: | run: |
# Labels für Podman vorbereiten
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