Skip to content

Commit

Permalink
Fixed GitHub workflow manifest push not supporting single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
horgeon committed Oct 4, 2024
1 parent 4022ff8 commit 47cd33e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
meta-version: ${{ steps.meta.outputs.version }}
meta-labels: ${{ steps.meta.outputs.labels }}
meta-json: ${{ steps.meta.outputs.json }}
meta-tags: ${{ steps.meta.outputs.tags }}

build:
needs:
Expand Down Expand Up @@ -156,7 +157,7 @@ jobs:
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
docker buildx imagetools create $(jq -r '"-t " + (.tags | join(" -t "))' <<< '${{ needs.prepare.outputs.meta-json }}') \
docker buildx imagetools create $(echo "${{ needs.prepare.outputs.meta-tags }}" | sed 's/^/-t /' | tr '\n' ' ') \
$(printf '${{ needs.prepare.outputs.image }}@sha256:%s ' *)
- name: Inspect image
Expand Down

0 comments on commit 47cd33e

Please sign in to comment.