Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish to BCR

on:
release:
types: [released]
Comment on lines +4 to +5
workflow_dispatch:
inputs:
tag_name:
description: The release tag to publish to the BCR, e.g. v0.8.2
required: true
type: string

jobs:
publish:
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.4.2
permissions:
contents: write # Upload release files / read the release
id-token: write # Attest provenance
attestations: write # Attest provenance
with:
tag_name: ${{ github.event.release.tag_name || inputs.tag_name }}
registry_fork: bazel-contrib/bazel-central-registry
# release.yml uses bazel-contrib/.github@v7, which does not produce
# attestations, so skip attestation upload.
attest: false
draft: false
secrets:
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}
56 changes: 7 additions & 49 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading