Skip to content

Commit cfc9247

Browse files
committed
chore: back to square one
1 parent fee3249 commit cfc9247

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,14 @@ jobs:
124124
type=semver,pattern={{major}}
125125
- name: Create manifest list and push
126126
working-directory: ${{ runner.temp }}/digests
127+
shell: bash
127128
run: |
128129
set -xEeuo pipefail
129130
130131
# 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
135132
docker buildx imagetools create \
136-
$(printf '%s %s ' $ANNOTATIONS $TAGS) \
133+
$(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")') \
134+
$(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.tags | map("--tag \"" + . + "\"") | join(" ")') \
137135
$(printf '${{ env.REGISTRY }}/${{ github.repository }}-${{ inputs.flavor }}@sha256:%s ' *)
138136
- name: Inspect manifest and extract digest
139137
id: inspect-manifest

0 commit comments

Comments
 (0)