Skip to content

Commit 35a747c

Browse files
authored
[CI] Fix publish-to-bcr workflow (#3869)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 95961e9 commit 35a747c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/publish-to-bcr.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
# Allow manual triggering for testing and recovery
55
workflow_dispatch:
66
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
711
tag_name:
812
description: 'Tag name to publish (e.g., v1.24.0)'
913
required: true
@@ -16,9 +20,12 @@ jobs:
1620
publish:
1721
permissions:
1822
contents: write
23+
id-token: write
24+
attestations: write
1925
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.1.0
2026
with:
2127
tag_name: ${{ inputs.tag_name || github.event.release.tag_name }}
22-
attest: false
28+
registry_fork: ${{ inputs.registry_fork || 'open-telemetry/bazel-central-registry' }}
29+
attest: true
2330
secrets:
2431
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)