added comments

This commit is contained in:
Aman Singh
2022-11-07 17:07:26 +05:30
parent 6ba0eb58c3
commit 15255d3520
+1
View File
@@ -209,6 +209,7 @@ func run(c *cli.Context) error {
return err
}
} else if !noPush || username != "" {
// setup auth when pushing or credentials are defined and docker config override is false
if err := createDockerCfgFile(username, c.String("password"), c.String("registry")); err != nil {
return err
}