fix: allow id-token write in gh actions
This commit is contained in:
parent
9a81b76398
commit
8f1b577b5e
3
.github/workflows/next.yaml
vendored
3
.github/workflows/next.yaml
vendored
@ -12,6 +12,7 @@ permissions:
|
|||||||
actions: write # Allow canceling in-progress runs
|
actions: write # Allow canceling in-progress runs
|
||||||
contents: read # Read access to the repository
|
contents: read # Read access to the repository
|
||||||
packages: write # Write access to the container registry
|
packages: write # Write access to the container registry
|
||||||
|
id-token: write # For the attest action to push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
@ -56,7 +57,7 @@ jobs:
|
|||||||
platforms: linux/amd64, linux/arm64
|
platforms: linux/amd64, linux/arm64
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
- name: Attest
|
- name: Attestation Provenance
|
||||||
uses: actions/attest-build-provenance@v2
|
uses: actions/attest-build-provenance@v2
|
||||||
id: attest
|
id: attest
|
||||||
with:
|
with:
|
||||||
|
|||||||
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -12,6 +12,7 @@ permissions:
|
|||||||
actions: write # Allow canceling in-progress runs
|
actions: write # Allow canceling in-progress runs
|
||||||
contents: read # Read access to the repository
|
contents: read # Read access to the repository
|
||||||
packages: write # Write access to the container registry
|
packages: write # Write access to the container registry
|
||||||
|
id-token: write # For the attest action to push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@ -54,7 +55,7 @@ jobs:
|
|||||||
platforms: linux/amd64, linux/arm64
|
platforms: linux/amd64, linux/arm64
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
- name: Attest
|
- name: Attestation Provenance
|
||||||
uses: actions/attest-build-provenance@v2
|
uses: actions/attest-build-provenance@v2
|
||||||
id: attest
|
id: attest
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user