ci: fix manifest merge — newline in tags broke shell loop

This commit is contained in:
lezi-fun committed 2026-08-11 19:18:12 +08:00
1 parent f96d21ade7
commit d074e27418
1 file changed
+2 -1
+2 -1
View File
@@ -103,7 +103,8 @@ jobs:
shell: bash
run: |
set -e
for tag in ${{ steps.meta.outputs.tags }}; do
TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ' ')
for tag in $TAGS; do
echo "merging: $tag (amd64 + arm64)"
docker manifest create "$tag" --amend "$tag-amd64" --amend "$tag-arm64"
docker manifest push "$tag"