Skip to content

Commit

Permalink
fix(config): password is now being correctly passed from cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfhc committed Apr 11, 2022
1 parent 7d7211e commit 279eb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ func init() {
viper.BindPFlag(config.UsernameKey, pushCmd.Flags().Lookup("username"))

pushCmd.Flags().StringP("password", "p", "", "password for the registry")
viper.BindPFlag(config.PasswordKey, pushCmd.Flags().Lookup("username"))
viper.BindPFlag(config.PasswordKey, pushCmd.Flags().Lookup("password"))
}

0 comments on commit 279eb6d

Please sign in to comment.