Skip to content

Commit

Permalink
attestations fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shocknet-justin committed May 19, 2024
1 parent d514b62 commit 515a53f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- name: Attest build provenance
uses: actions/attest-build-provenance@v1
with:
artifact-digest: ${{ steps.build-and-push.outputs.digest }}
artifact-type: 'container-image'
artifact-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
materials: '[{"uri":"git+https://github.com/${{ github.repository }}","digest":{"sha1":"${{ github.sha }}"},"mediaType":"application/vnd.github.v3+json"}]'
subject-path: ${{ github.workspace }}
subject-digest: ${{ steps.build-and-push.outputs.digest }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
push-to-registry: true
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 515a53f

Please sign in to comment.