Skip to content

Commit

Permalink
docs(readme): update plugin reference (#820)
Browse files Browse the repository at this point in the history
* Update plugin reference

* Also update the plugin key

* Remove Dockerfile and push to buf job

* revert ts-proto.Dockerfile
  • Loading branch information
mfridman committed May 2, 2023
1 parent 6b6e1bb commit e60706b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,3 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
outputs:
release_version: ${{ steps.release.outputs.release_version }}

push_to_buf_registry:
if: ${{ needs.release.outputs.release_version != '' }}
name: Push Docker image to Buf Registry
runs-on: ubuntu-latest
environment: npm
needs: [release]
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Log in to Buf Plugin Registry
uses: docker/login-action@v2
with:
registry: plugins.buf.build
username: ${{ secrets.BUF_USERNAME }}
password: ${{ secrets.BUF_PASSWORD }}

- name: Build Plugin image
run: docker build
--file ts-proto.Dockerfile
--tag plugins.buf.build/community/stephenh-ts-proto:v${{ needs.release.outputs.release_version }}-0
"."

- name: Push to Buf Registry
run: docker push plugins.buf.build/community/stephenh-ts-proto:v${{ needs.release.outputs.release_version }}-0
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ You can also use the official plugin published to the Buf Registry.
```yaml
version: v1
plugins:
- remote: buf.build/stephenh/plugins/ts-proto
- plugin: buf.build/community/stephenh-ts-proto
out: ../gen/ts
opt:
- outputServices=...
Expand Down

0 comments on commit e60706b

Please sign in to comment.