File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,13 @@ jobs:
128128 set -xEeuo pipefail
129129
130130 # shellcheck disable=SC2046
131+ ANNOTATIONS=$(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")')
132+ TAGS=$(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.tags | map("--tag " + . + "\"") | join(" ")')
133+
134+ # Build the command and execute it
131135 docker buildx imagetools create \
132- $(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.annotations | map("--annotation " + @sh) | join(" ")') \
133- $(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.tags | map("--tag " + @sh) | join(" ")') \
136+ $ANNOTATIONS \
137+ $TAGS \
134138 $(printf '${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}@sha256:%s ' *)
135139 - name : Inspect manifest and extract digest
136140 id : inspect-manifest
You can’t perform that action at this time.
0 commit comments