From d074e27418aee2e45531793dc4402ced5918edd7 Mon Sep 17 00:00:00 2001 From: lezi-fun <177434121+lezi-fun@users.noreply.github.com> Date: Tue, 11 Aug 2026 19:18:12 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20manifest=20merge=20=E2=80=94=20newl?= =?UTF-8?q?ine=20in=20tags=20broke=20shell=20loop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-ghcr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-ghcr.yml b/.github/workflows/docker-ghcr.yml index 8ed95f8..c9d5c5e 100644 --- a/.github/workflows/docker-ghcr.yml +++ b/.github/workflows/docker-ghcr.yml @@ -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"