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

Allow configuring the buf remote #121

Merged
merged 1 commit into from Apr 11, 2023
Merged

Conversation

rhbuf
Copy link
Contributor

@rhbuf rhbuf commented Apr 10, 2023

Add an input to the setup action that can control which Buf Schema Registry to login to, which will be useful for users who have a private BSR instance. I used domain as this is what we refer to in the cli help:

$ buf registry login --help
Log in to the Buf Schema Registry

This prompts for your BSR username and a BSR token and updates your .netrc file with these credentials.
The <domain> argument will default to buf.build if not specified.

Usage:
  buf registry login <domain> [flags]

Add an input to the setup action that can control which Buf Schema Registry to login to, which will be useful for users who have a private BSR instance. I used `domain` as this is what we refer to in the cli help:
```
$ buf registry login --help
Log in to the Buf Schema Registry

This prompts for your BSR username and a BSR token and updates your .netrc file with these credentials.
The <domain> argument will default to buf.build if not specified.

Usage:
  buf registry login <domain> [flags]
```
@@ -36,6 +36,7 @@ You can configure `buf-setup-action` with these parameters:
| `github_token` | The GitHub token to use when making API requests | |
| `buf_user` | The username to use for logging into Buf Schema registry. | |
| `buf_api_token` | The API token to use for logging into Buf Schema registry. | |
| `buf_domain` | The domain of the Buf Schema Registry to login to. | buf.build |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buf_instance?

@rhbuf rhbuf merged commit e349d57 into main Apr 11, 2023
5 checks passed
@rhbuf rhbuf deleted the rhenderson/support-other-remotes branch April 11, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants