Skip to content

Commit f5a4d86

Browse files
committed
chore: correct imagetools create and add manifest
1 parent a0ad92e commit f5a4d86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ jobs:
132132
- name: Create manifest list and push
133133
working-directory: ${{ runner.temp }}/digests
134134
run: |
135-
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "${{ steps.metadata.outputs.json }}") \
135+
docker buildx imagetools create
136+
$(echo '${{ steps.metadata.outputs.json }}' | jq -r '.tags | map("--tag " + .) | join(" ")') \
137+
$(echo '${{ steps.metadata.outputs.json }}' | jq -r '.annotation | map("--annotation " + .) | join(" ")') \
136138
$(printf '${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }}@sha256:%s ' *)
137139
- name: Inspect manifest and extract digest
138140
id: inspect-manifest

0 commit comments

Comments
 (0)