Skip to content

Commit 0403ad9

Browse files
committed
Fix workflow
1 parent a47070e commit 0403ad9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish-docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
contents: read
2424
packages: write
2525
id-token: write
26+
attestations: write
2627

2728
steps:
2829
- name: Checkout code
@@ -54,6 +55,7 @@ jobs:
5455
password: ${{ secrets.GITHUB_TOKEN }}
5556

5657
- name: Build and push Docker image
58+
id: build
5759
uses: docker/build-push-action@v5
5860
with:
5961
context: .
@@ -74,6 +76,7 @@ jobs:
7476
uses: actions/attest-build-provenance@v1
7577
with:
7678
subject-name: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
77-
subject-digest: ${{ steps.meta.outputs.digest }}
78-
push: true
79+
subject-digest: ${{ steps.build.outputs.digest }}
80+
push-to-registry: true
81+
show-summary: true
7982

0 commit comments

Comments
 (0)