fix: tag rechunked image with all metadata tags for push to GHCR
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user