File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
build :
25
25
runs-on : ubuntu-latest
26
26
permissions :
27
- contents : read # For code checkout
27
+ contents : write # For code checkout and publishing releases
28
28
packages : write # For pushing images to registries
29
29
attestations : write # For generating provenance and SBOMs
30
30
id-token : write # For OIDC auth to Docker Hub and GHCR
96
96
# Skip publishing during dry-run
97
97
args : release --config build/goreleaser/${{ inputs.build-type }}.yaml ${{ inputs.build-type == 'dev' && '--snapshot' || '' }} --clean ${{ inputs.dry-run && '--skip=publish' || '' }}
98
98
env :
99
- GITHUB_TOKEN : ${{ secrets.BOT_GHCR_PAT }}
99
+ GITHUB_TOKEN : ${{ github.token }}
100
100
DRY_RUN : ${{ inputs.dry-run }}
101
101
102
102
- name : Upload binary SBOMs # Upload SBOMs for prod builds.
You can’t perform that action at this time.
0 commit comments