Skip to content

Commit

Permalink
Fixed variable insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Oct 22, 2023
1 parent 61b55f4 commit 15cfbfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ jobs:
working-directory: /tmp/digests
run: |
jq -crj '.tags | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON" > /tmp/extra-manifest.json
TAGS=$(jq -crj '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
docker buildx imagetools create -f /tmp/extra-manifest.json ${TAGS} \
TAGS="$(jq -crj '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")"
docker buildx imagetools create -f /tmp/extra-manifest.json $TAGS \
$(printf '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
# Sign the resulting Docker image digest except on PRs.
Expand Down

0 comments on commit 15cfbfd

Please sign in to comment.