From 8f84118cf1e18b8d1927487b43c209680c66a8bd Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Wed, 8 Feb 2023 18:41:46 +1000 Subject: [PATCH] Fix CI Issues (#312) * Update publish.yml * Update ci.yml * Update publish.yml --- .github/workflows/ci.yml | 9 +++------ .github/workflows/publish.yml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c93f78b..4a41ffe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,9 +19,6 @@ jobs: github_token: ${{ github.token }} - name: Push to schema registry - # uses: bufbuild/buf-push-action@v1 - # with: - # buf_token: ${{ secrets.BUF_TOKEN }} - run: | - export BUF_TOKEN=${{ secrets.BUF_TOKEN }} - buf push --tag latest --tag ${{ github.sha }} + uses: bufbuild/buf-push-action@v1 + with: + buf_token: ${{ secrets.BUF_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6a7c2b9..da3d251 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Push new version to schema registry on: push: tags: - - "v*" + - "**" jobs: push_to_registry: