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