Add artifact attestation

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2024-05-05 10:39:08 +02:00
parent af521c9219
commit 633b825f35
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
2 changed files with 10 additions and 0 deletions

View File

@ -98,6 +98,11 @@ runs:
with:
name: ${{ inputs.artifact_name }}
path: '${{ inputs.bin_name }}*'
-
name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: ${{ inputs.bin_name }}
-
name: Extract documentation files from container
if: inputs.event_name != 'pull_request' && inputs.platform == 'linux/amd64'

View File

@ -1,5 +1,10 @@
name: Build, Test, Deploy
permissions:
id-token: write
contents: read
attestations: write
on:
push:
branches: