Skip to content

Allow configuring the buf remote#121

Merged
rhbuf merged 1 commit intomainfrom
rhenderson/support-other-remotes
Apr 11, 2023
Merged

Allow configuring the buf remote#121
rhbuf merged 1 commit intomainfrom
rhenderson/support-other-remotes

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]
```
| `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
@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.

2 participants