diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5e636fa..a21bfce 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -207,8 +207,7 @@ jobs: working-directory: /tmp/digests run: | jq -crj '.tags | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON" > /tmp/extra-manifest.json - TAGS=$(jq -crj '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") - docker buildx imagetools create -f /tmp/extra-manifest.json $TAGS \ + docker buildx imagetools create -f /tmp/extra-manifest.json $(jq -crj '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \ $(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *) # Sign the resulting Docker image digest except on PRs.