mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-12-13 04:30:36 +00:00
fix: correctly handle multi-line tag digests output
kaniko outputs each tag on a new line, so users that push multiple tags at once would get an error as the output wasn't prepared to handle multi-line text
This commit is contained in:
committed by
Alex Viscreanu
parent
8de7c88b27
commit
fd47216104
@ -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
|
||||
|
||||
Reference in New Issue
Block a user