mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Add publish to BCR
This commit is contained in:
28
.github/workflows/publish_to_bcr.yaml
vendored
Normal file
28
.github/workflows/publish_to_bcr.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
on:
|
||||
# Run the publish workflow after a successful release.
|
||||
workflow_call:
|
||||
inputs:
|
||||
tag_name:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
# Allow manual triggering of the workflow.
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag_name:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@[version]
|
||||
with:
|
||||
tag_name: ${{ inputs.tag_name }}
|
||||
# GitHub repository which is a fork of the upstream where the Pull Request will be opened.
|
||||
registry_fork: ArthurSonzogni/bazel-central-registry
|
||||
permissions:
|
||||
attestations: write
|
||||
contents: write
|
||||
id-token: write
|
||||
secrets:
|
||||
publish_token: ${{ secrets.PUBLISH_TOKEN }}
|
||||
Reference in New Issue
Block a user