Skip to content

Commit

Permalink
Fix subject-name
Browse files Browse the repository at this point in the history
  • Loading branch information
zachauten committed Sep 24, 2024
1 parent 4c4ad31 commit 23dfd62
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ on: push
jobs:
Build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write

env:
IMAGE: ghcr.io/${{ github.repository }}
steps:
- uses: actions/checkout@v4

Expand All @@ -21,7 +17,7 @@ jobs:
- uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/${{ github.repository }}
images: {{ env.IMAGE }}

- uses: docker/bake-action@v5
with:
Expand All @@ -32,7 +28,7 @@ jobs:

- uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-name: {{ env.IMAGE }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit 23dfd62

Please sign in to comment.