From 027c80b4a1e454af192f93aa55cb2bc58ce44b66 Mon Sep 17 00:00:00 2001 From: pascalholthaus <94793111+pascalholthaus@users.noreply.github.com> Date: Tue, 6 Aug 2024 08:00:40 +0200 Subject: [PATCH] Fix: multi line output in manifest action --- container-multi-arch-manifest/action.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/container-multi-arch-manifest/action.yaml b/container-multi-arch-manifest/action.yaml index 09857b09..d1fd1fc1 100644 --- a/container-multi-arch-manifest/action.yaml +++ b/container-multi-arch-manifest/action.yaml @@ -90,7 +90,9 @@ runs: # Set digest and tags output echo "digest=$manifest_digest" >> "$GITHUB_OUTPUT" # We need a newline separator here for the cosign action - echo "tags=$(printf "%s\n" "${meta_tags[@]}")" >> "$GITHUB_OUTPUT" + echo 'tags<> $GITHUB_OUTPUT + echo "$(printf "%s\n" "${meta_tags[@]}")" >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT - name: Signing Manifest if: ${{ inputs.cosign-key && inputs.cosign-key-password }}