Skip to content

Commit

Permalink
bugfix: use insecure flag (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyamachi authored Feb 21, 2021
1 parent 8e4e03c commit 1397102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
9 changes: 5 additions & 4 deletions pkg/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 1397102

Please sign in to comment.