From 126bc28aa8345ac17cd7d042798814494ee5a934 Mon Sep 17 00:00:00 2001 From: gunnar Date: Sat, 30 May 2026 17:37:24 +0200 Subject: [PATCH] fix: tag rechunked image with all metadata tags for push to GHCR --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b27a3c..76efffc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -122,7 +122,10 @@ jobs: # Platz freigeben: Original und Zwischenprodukt entfernen buildah rmi "$IMG" - buildah tag "$CHUNKED_IMG" "$IMG" + for full_tag in ${{ steps.metadata.outputs.tags }}; do + tag_only="${full_tag##*:}" + buildah tag "$CHUNKED_IMG" "localhost/${{ env.IMAGE_NAME }}:${tag_only}" + done buildah rmi "$CHUNKED_IMG" - name: Login to GitHub Container Registry