Skip to content

Commit

Permalink
DO NOT MERGE: more printf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sengi committed May 17, 2024
1 parent 073e5fc commit d52eb1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push-multiarch-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,15 @@ jobs:
run: |

Check failure on line 202 in .github/workflows/build-and-push-multiarch-image.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2046:warning:4:74: Quote this to prevent word splitting

Check failure on line 202 in .github/workflows/build-and-push-multiarch-image.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2046:warning:5:33: Quote this to prevent word splitting

Check failure on line 202 in .github/workflows/build-and-push-multiarch-image.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2046:warning:6:3: Quote this to prevent word splitting

Check failure on line 202 in .github/workflows/build-and-push-multiarch-image.yml

View workflow job for this annotation

GitHub Actions / actionlint

shellcheck reported issue in this script: SC2086:info:12:33: Double quote to prevent globbing and word splitting
tags=$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
src=$(printf "${IMAGEREF_PREFIX}@sha256:%s" *)
echo "::notice title=original command::" docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ steps.login-ecr.outputs.registry }}/${{ inputs.ecrRepositoryName }}@sha256:%s ' *)
echo "::notice title=tags::tags=$tags"
echo "::notice title=src::src=$src"
# shellcheck disable=SC2086 # Intentional word-splitting on $tags.
echo "::notice title=new, broken command::" docker buildx imagetools create $tags "$src"
docker buildx imagetools create $tags "$src"
- name: Inspect Images
Expand Down

0 comments on commit d52eb1e

Please sign in to comment.