File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments