Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add buf registry deploy on the ci #216

Merged
merged 2 commits into from
Oct 29, 2024
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
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