Skip to content

Commit 34ef815

Browse files
committed
chore: publish attestations to BCR
Note, I've removed the Publish to BCR GH app from this repo.
1 parent 19e0254 commit 34ef815

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,22 @@ on:
88
tags:
99
- "v*.*.*"
1010

11+
permissions:
12+
id-token: write
13+
attestations: write
14+
contents: write
15+
1116
jobs:
1217
release:
13-
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v6
18+
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.2.2
1419
with:
1520
release_files: toolchains_protoc-*.tar.gz
1621
prerelease: false
22+
tag_name: ${{ github.ref_name }}
23+
publish:
24+
needs: release
25+
uses: ./.github/workflows/publish.yaml
26+
with:
27+
tag_name: ${{ github.ref_name }}
28+
secrets:
29+
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)