Add BCR publishing configuration for Bazel Central Registry #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enables automatic publishing to the Bazel Central Registry when version tags are pushed, making the module available for consumption via bzlmod.
Changes
.bcr/directory: BCR template filesmetadata.template.json: Repository metadata and maintainerssource.template.json: GitHub auto-generated archive URLs (archive/refs/tags/v{VERSION}.tar.gz)presubmit.yml: Build verification matrix across Debian, Ubuntu, macOS on Bazel 7.x/8.x/9.*README.md: Maintainer setup guide (BCR fork, PAT creation, secret configuration).github/workflows/publish-to-bcr.yml: GitHub Actions workflowv*.*.*tagsbazel-contrib/[email protected]reusable workflowBCR_PUBLISH_TOKENsecretTarget registry: https://github.com/bazelbuild/bazel-central-registry
Setup Required
Maintainers must:
bazelbuild/bazel-central-registryrepoandworkflowscopesBCR_PUBLISH_TOKENrepository secretSee
.bcr/README.mdfor detailed instructions.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/mmorel-35/proxy-wasm-rust-sdk/contents/.bcr/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/mmorel-35/proxy-wasm-rust-sdk/git/trees/92d566026a6778667b88188b81ff5a24c658a9cf/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/users/PiotrSikora/usr/bin/curl curl -s REDACTED(http block)releases.bazel.build/usr/local/lib/node_modules/@bazel/bazelisk/bazelisk-linux_amd64 /usr/local/lib/node_modules/@bazel/bazelisk/bazelisk-linux_amd64 query //...(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.