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
|
- name: Attest build provenance
|
||||||
uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
with:
|
with:
|
||||||
artifact-digest: ${{ steps.build-and-push.outputs.digest }}
|
subject-path: ${{ github.workspace }}
|
||||||
artifact-type: 'container-image'
|
subject-digest: ${{ steps.build-and-push.outputs.digest }}
|
||||||
artifact-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
materials: '[{"uri":"git+https://github.com/${{ github.repository }}","digest":{"sha1":"${{ github.sha }}"},"mediaType":"application/vnd.github.v3+json"}]'
|
push-to-registry: true
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue