Skip to content

Commit

Permalink
ci: add buf registry deploy on the ci (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak authored Oct 29, 2024
1 parent 0228b1b commit a74fa9f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/buf-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish buf files
on:
workflow_call:
permissions:
contents: read
jobs:
buf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@v1
with:
token: ${{ secrets.BUF_TOKEN }}
tpr_comment: false
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ jobs:
packages: write
uses: ./.github/workflows/npm-publish.yml

publish_buf_registry:
name: Publish buf files
permissions:
contents: read
needs:
- npm_publish
uses: ./.github/workflows/buf-registry.yml

build_docker_images:
name: Build Docker Images
permissions:
Expand Down

0 comments on commit a74fa9f

Please sign in to comment.