From 72ebc98abd47c44778f843488bd5bab4d8de6cc2 Mon Sep 17 00:00:00 2001 From: Xav Pa Date: Tue, 9 Jun 2026 14:19:46 +1200 Subject: [PATCH] Add --username flag to replicated registry add ghcr command --- cli/cmd/registry_add_ghcr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/cmd/registry_add_ghcr.go b/cli/cmd/registry_add_ghcr.go index 381b2893e..c5235912e 100644 --- a/cli/cmd/registry_add_ghcr.go +++ b/cli/cmd/registry_add_ghcr.go @@ -19,6 +19,7 @@ func (r *runners) InitRegistryAddGHCR(parent *cobra.Command) { } parent.AddCommand(cmd) + cmd.Flags().StringVar(&r.args.addRegistryUsername, "username", "", "The userame to authenticate to the registry with") cmd.Flags().StringVar(&r.args.addRegistryToken, "token", "", "The token to use to auth to the registry with") cmd.Flags().BoolVar(&r.args.addRegistryTokenFromStdIn, "token-stdin", false, "Take the token from stdin") cmd.Flags().StringVar(&r.args.addRegistryName, "name", "", "Name for the registry")