From 7fa98406685853cf19e67be5708a0f364d9981f7 Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Fri, 17 May 2024 12:19:06 +0100 Subject: [PATCH] DO NOT MERGE: more printf debugging --- .github/workflows/build-and-push-multiarch-image.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-push-multiarch-image.yml b/.github/workflows/build-and-push-multiarch-image.yml index 041369c18..eca5e1e2d 100644 --- a/.github/workflows/build-and-push-multiarch-image.yml +++ b/.github/workflows/build-and-push-multiarch-image.yml @@ -202,9 +202,17 @@ jobs: run: | 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") \ + $(printf '${{ steps.login-ecr.outputs.registry }}/${{ inputs.ecrRepositoryName }}@sha256:%s ' *) + + 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=broken command::" docker buildx imagetools create $tags "$src" docker buildx imagetools create $tags "$src" - name: Inspect Images