We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95961e9 commit 35a747cCopy full SHA for 35a747c
1 file changed
.github/workflows/publish-to-bcr.yml
@@ -4,6 +4,10 @@ on:
4
# Allow manual triggering for testing and recovery
5
workflow_dispatch:
6
inputs:
7
+ registry_fork:
8
+ default: open-telemetry/bazel-central-registry
9
+ description: The Bazel registry fork to push to when opening up a pull request"
10
+ type: string
11
tag_name:
12
description: 'Tag name to publish (e.g., v1.24.0)'
13
required: true
@@ -16,9 +20,12 @@ jobs:
16
20
publish:
17
21
permissions:
18
22
contents: write
23
+ id-token: write
24
+ attestations: write
19
25
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.1.0
26
with:
27
tag_name: ${{ inputs.tag_name || github.event.release.tag_name }}
- attest: false
28
+ registry_fork: ${{ inputs.registry_fork || 'open-telemetry/bazel-central-registry' }}
29
+ attest: true
30
secrets:
31
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}
0 commit comments