Skip to content

Commit

Permalink
Fix: multi line output in manifest action
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalholthaus authored and greenbonebot committed Aug 6, 2024
1 parent afac4f7 commit 027c80b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion container-multi-arch-manifest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF' >> $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 }}
Expand Down

0 comments on commit 027c80b

Please sign in to comment.