fix: add permissions for docker attestation

This commit is contained in:
Sean Molenaar 2024-07-23 15:05:59 +02:00 committed by GitHub
parent cd7660814d
commit 467645a511
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,10 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
version: ["18.04", "20.04", "22.04", "24.04"] version: ["18.04", "20.04", "22.04", "24.04"]
permissions:
contents: read # for code access
attestations: write # for actions/attest-build-provenance
id-token: write # for actions/attest-build-provenance
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4