Skip to content

Commit

Permalink
build: fixing multiline GITHUB_OUTPUT variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoberano-ld committed Jun 11, 2024
1 parent 2061d0a commit 606465e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ runs:
image_and_digest=$(echo "$ARTIFACTS" | jq -r '.[] | select (.type=="Docker Manifest") | .path')
image=$(echo "${image_and_digest}" | cut -d'@' -f1 | cut -d':' -f1)
digest=$(echo "${image_and_digest}" | cut -d'@' -f2)
echo "name=$image" >> "$GITHUB_OUTPUT"
echo "digest=$digest" >> "$GITHUB_OUTPUT"
{ echo 'name<<EOF'; echo $image; echo EOF } >> "$GITHUB_OUTPUT"
{ echo 'digest<<EOF'; echo $digest; echo EOF } >> "$GITHUB_OUTPUT"
- name: Upload Release Artifacts
shell: bash
Expand Down

0 comments on commit 606465e

Please sign in to comment.