Skip to content

Commit 10c3ef7

Browse files
committed
fix(btm-builder-image): drop id-token + attestations permissions
GHA may startup_failure when a workflow requests `attestations: write` or `id-token: write` permissions on a repo that doesn't have GitHub Attestations / OIDC publishing enabled at the repo or org level. Neither permission is required for the basic `docker push` to ghcr.io (uses GITHUB_TOKEN via docker/login-action). Drop both until sigstore-attestation integration is genuinely needed.
1 parent 66a40f4 commit 10c3ef7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

.github/workflows/btm-builder-image.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ jobs:
3939
permissions:
4040
contents: read
4141
packages: write
42-
id-token: write
43-
attestations: write
4442
steps:
4543
- name: Checkout
4644
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 (2026-05-15)

0 commit comments

Comments
 (0)