attestations fix
This commit is contained in:
parent
6c9ac2e354
commit
dd6c271091
1 changed files with 6 additions and 4 deletions
10
.github/workflows/push.yml
vendored
10
.github/workflows/push.yml
vendored
|
|
@ -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 }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue