mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: allow id-token write in gh actions
This commit is contained in:
@@ -12,6 +12,7 @@ permissions:
|
||||
actions: write # Allow canceling in-progress runs
|
||||
contents: read # Read access to the repository
|
||||
packages: write # Write access to the container registry
|
||||
id-token: write # For the attest action to push
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -56,7 +57,7 @@ jobs:
|
||||
platforms: linux/amd64, linux/arm64
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Attest
|
||||
- name: Attestation Provenance
|
||||
uses: actions/attest-build-provenance@v2
|
||||
id: attest
|
||||
with:
|
||||
|
||||
@@ -12,6 +12,7 @@ permissions:
|
||||
actions: write # Allow canceling in-progress runs
|
||||
contents: read # Read access to the repository
|
||||
packages: write # Write access to the container registry
|
||||
id-token: write # For the attest action to push
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@@ -54,7 +55,7 @@ jobs:
|
||||
platforms: linux/amd64, linux/arm64
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Attest
|
||||
- name: Attestation Provenance
|
||||
uses: actions/attest-build-provenance@v2
|
||||
id: attest
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user