Skip to content

Commit

Permalink
chore: correct syntax for GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaegers committed Nov 10, 2023
1 parent 12749e9 commit 844a094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- run: echo '${{ steps.meta.outputs.labels }}' | sed 's/org.opencontainers.image./annotation-index.org.opencontainers.image./' | tr '\n' ',' >> "$GITHUB_OUTPUT"
- run: echo 'annotations=$(echo '${{ steps.meta.outputs.labels }}' | sed 's/org.opencontainers.image./annotation-index.org.opencontainers.image./' | tr '\n' ',') >> "$GITHUB_OUTPUT"
id: annotations
- uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
Expand All @@ -60,7 +60,7 @@ jobs:
push: ${{ github.event_name != 'merge_group' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=target,${{ steps.annotations.outputs }}
outputs: type=image,name=target,${{ steps.annotations.outputs.annotations }}
sbom: true
provenance: true
cache-from: type=gha
Expand Down

0 comments on commit 844a094

Please sign in to comment.