diff --git a/goreleaser.yaml b/goreleaser.yaml index e71beed..60952bb 100644 --- a/goreleaser.yaml +++ b/goreleaser.yaml @@ -73,6 +73,7 @@ brews: tap: owner: goodwithtech name: homebrew-r + folder: Formula homepage: "https://github.com/goodwithtech/dockle" description: "Simple security auditing, helping build the Best Docker Images" test: | diff --git a/pkg/run.go b/pkg/run.go index fd4e9bf..8efddc0 100644 --- a/pkg/run.go +++ b/pkg/run.go @@ -52,10 +52,11 @@ func Run(c *cli.Context) (err error) { } // set docker option dockerOption := deckodertypes.DockerOption{ - Timeout: c.Duration("timeout"), - UserName: c.String("username"), - Password: c.String("password"), - SkipPing: true, + Timeout: c.Duration("timeout"), + UserName: c.String("username"), + Password: c.String("password"), + InsecureSkipTLSVerify: c.Bool("insecure"), + SkipPing: true, } var imageName string if filePath == "" {