Skip to content

Commit

Permalink
Fix multi-line output error for the image-tag-digest output
Browse files Browse the repository at this point in the history
  • Loading branch information
jekwesco committed Apr 4, 2024
1 parent 8de7c88 commit 4f46c73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ eval "${kaniko_cmd}"

echo "image=$IMAGE" >> "$GITHUB_OUTPUT"
echo "digest=$(cat /kaniko/digest)" >> "$GITHUB_OUTPUT"
echo "image-tag-digest=$(cat /kaniko/image-tag-digest)" >> "$GITHUB_OUTPUT"
echo "image-tag-digest<<EOF" >>"$GITHUB_OUTPUT"
echo "$(cat /kaniko/image-tag-digest)" >>"$GITHUB_OUTPUT"
echo 'EOF' >>"$GITHUB_OUTPUT"


if [ -n "$INPUT_SKIP_UNCHANGED_DIGEST" ]; then
Expand Down

0 comments on commit 4f46c73

Please sign in to comment.