Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoWilhelm committed May 17, 2024
1 parent b096680 commit 6004480
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
context: ./docker/neon-proxy/
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
outputs: |
type=image,name=${{ needs.prepare.outputs.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=gha
Expand Down Expand Up @@ -137,8 +138,8 @@ jobs:
working-directory: /tmp/digests
run: |
docker buildx imagetools create \
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf "${{ steps.meta.outputs.annotations }}" | awk '{print "--annotation", "\"" $0 "\""}') \
$(printf "${{ steps.meta.outputs.tags }}" | awk '{print "--tag", "\"" $0 "\""}') \
$(printf '${{ needs.prepare.outputs.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
Expand Down

0 comments on commit 6004480

Please sign in to comment.