fix: add permissions for docker attestation
This commit is contained in:
parent
cd7660814d
commit
467645a511
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user