mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 13:59:38 +01: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:
parent
8de7c88b27
commit
fd47216104
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue