File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,11 @@ jobs:
125125 - name : Create manifest list and push
126126 working-directory : ${{ runner.temp }}/digests
127127 run : |
128- set -Eeuo pipefail
129-
130- annotations=$(echo '${{ steps.metadata.outputs.json }}' | jq -r '.annotations[]')
131- for annotation in $annotations; do
132- annotation_arguments+=(--annotation "$annotation")
133- done
128+ set -xEeuo pipefail
134129
135130 # shellcheck disable=SC2046
136131 docker buildx imagetools create \
137- "${annotation_arguments[@]}" \
132+ $(echo '${{ steps.metadata.outputs.json }}' | jq -r '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \
138133 $(echo '${{ steps.metadata.outputs.json }}' | jq -r '.tags | map("--tag " + .) | join(" ")') \
139134 $(printf '${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}@sha256:%s ' *)
140135 - name : Inspect manifest and extract digest
You can’t perform that action at this time.
0 commit comments