Alias
You can usereg as a shorthand for registry:
Subcommands
List registry authentications
List all your container registry authentications:Get registry authentication details
Get details about a specific registry authentication:Create a registry authentication
Create credentials for a private container registry. Supply the password in one of three ways:- Pass it directly with the
--passwordflag. - Pipe or redirect it into
--password-stdin. - Omit both flags to enter it at an interactive prompt.
--password:
--password-stdin:
--password-stdin:
--username to the literal _json_key and feed the multi-line service-account JSON key file through --password-stdin. The command supports multi-line passwords and strips only a single trailing newline added by the pipe or redirection.
Create flags
string
required
Name for this registry authentication.
string
required
Registry username.
string
Registry password or access token. Cannot be used with
--password-stdin. If neither --password nor --password-stdin is given, the command prompts for the password when run in an interactive terminal, or exits with an error otherwise.bool
Read the registry password from standard input (pipe, heredoc, or file redirection). Supports multi-line values. Cannot be used with
--password.