From 61cad63b86506ea480f06788dbfa3405f667ed49 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 11 Jun 2026 10:14:55 -0700 Subject: [PATCH] Update release workflow to use github action --- .github/workflows/create-release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 9a44638..bc16a9e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -24,3 +24,19 @@ jobs: env: TAG: ${{ inputs.tag }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + publish: + needs: create-release + uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.0.0 + with: + tag_name: ${{ inputs.tag }} + registry_fork: keith/bazel-central-registry + # TODO: Enable attestations once supported + # https://github.com/bazel-contrib/publish-to-bcr/issues/342 + attest: false + secrets: + publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }} + permissions: + attestations: write + contents: write + id-token: write