[bazel] Setup workflow to publish to BCR#1639
Open
mmorel-35 wants to merge 2 commits intoemscripten-core:mainfrom
Open
[bazel] Setup workflow to publish to BCR#1639mmorel-35 wants to merge 2 commits intoemscripten-core:mainfrom
mmorel-35 wants to merge 2 commits intoemscripten-core:mainfrom
Conversation
f63d8bd to
e0ae060
Compare
sbc100
reviewed
Dec 8, 2025
Collaborator
sbc100
left a comment
There was a problem hiding this comment.
I don't know much about this stuff I'm afraid. Perhaps @walkingeyerobot can review?
Contributor
Author
|
The workflow is provided based on https://github.com/bazel-contrib/publish-to-bcr/ and BCR is here |
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
mmorel-35
commented
Feb 16, 2026
| uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.0.0 | ||
| with: | ||
| tag_name: ${{ inputs.tag_name || github.ref_name }} | ||
| registry_fork: emscripten-core/bazel-central-registry |
Collaborator
There was a problem hiding this comment.
Is that because the workflow involves sending a PR to the upstream bazel-central-registry?
Contributor
Author
There was a problem hiding this comment.
That's my understanding yes
mmorel-35
commented
Feb 16, 2026
| attestations: write | ||
| secrets: | ||
| # Necessary to push to the BCR fork, and to open a pull request against a registry | ||
| publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }} |
Contributor
Author
There was a problem hiding this comment.
You'll need to create a dedicated token
Collaborator
There was a problem hiding this comment.
Can you tell me the exact steps I need to take here?
Contributor
Author
There was a problem hiding this comment.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This provide the workflow to publish each new tag to the BCR as it was yet done https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/emsdk
Fixes: #1674