Add support for insecure registry (#169)

This commit is contained in:
Guilherme Rezende
2018-08-15 11:28:16 -07:00
committed by priyawadhwa
parent 3a9b4fe612
commit 60bdda4c49
2 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ var RootCmd = &cobra.Command{
os.Exit(1)
}
if err := executor.DoPush(image, destinations, tarPath); err != nil {
if err := executor.DoPush(image, destinations, tarPath, dockerInsecureSkipTLSVerify); err != nil {
logrus.Error(err)
os.Exit(1)
}