diff --git a/.github/workflows/publish-image.yml b/.github/workflows/publish-image.yml index 3d72fa72..c57014b0 100644 --- a/.github/workflows/publish-image.yml +++ b/.github/workflows/publish-image.yml @@ -254,9 +254,10 @@ jobs: run: | IMAGES_LIST=($IMAGES) for REPO in "${IMAGES_LIST[@]}"; do - docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ - $(printf -- "--annotation \"%s\" " "${DOCKER_METADATA_OUTPUT_ANNOTATIONS[@]}") \ - $(printf "$REPO@sha256:%s " *) + docker buildx imagetools create \ + $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ + $(printf -- " --annotation %q" "${DOCKER_METADATA_OUTPUT_ANNOTATIONS[@]}") \ + $(printf "$REPO@sha256:%s " *) done - name: Inspect image