feat: add new login cmd (#1068)

Co-authored-by: Christopher Phillips <christopher.phillips@anchore.com>
This commit is contained in:
Batuhan Apaydın
2022-07-05 11:57:28 -04:00
committed by GitHub
co-authored by Christopher Phillips
parent 47df66960f
commit 69134ed3b5
2 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func (cfg registry) loadDefaultValues(v *viper.Viper) {
v.SetDefault("registry.auth", []RegistryCredentials{})
}
// nolint: unparam
// nolint:unparam
func (cfg *registry) parseConfigValues() error {
// there may be additional credentials provided by env var that should be appended to the set of credentials
authority, username, password, token :=