Skip to content

Commit d1276b9

Browse files
committed
chore: revert 'fix' and enable debugging
1 parent 6cd10ff commit d1276b9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/wc-build-push.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)