Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
Or-Geva committed Jan 7, 2021
1 parent 199106a commit 9009e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,7 @@ Branch to clone if build context is a git repository (default branch=,single-bra
Specify a file to save the image name w/ digest of the built image to.

#### --add-image-tag

Add image build tag to the generated file by `image-name-with-digest-file` flag.
Add add an image tag to the generated file by `image-name-with-digest-file` flag.

#### --insecure

Expand Down
2 changes: 1 addition & 1 deletion cmd/executor/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func addKanikoOptionsFlags() {
RootCmd.PersistentFlags().StringVarP(&opts.CacheDir, "cache-dir", "", "/cache", "Specify a local directory to use as a cache.")
RootCmd.PersistentFlags().StringVarP(&opts.DigestFile, "digest-file", "", "", "Specify a file to save the digest of the built image to.")
RootCmd.PersistentFlags().StringVarP(&opts.ImageNameDigestFile, "image-name-with-digest-file", "", "", "Specify a file to save the image name w/ digest of the built image to.")
RootCmd.PersistentFlags().BoolVarP(&opts.AddImageTag, "add-image-tag", "", false, "Add image build tag to the generated file by image-name-with-digest-file flag.")
RootCmd.PersistentFlags().BoolVarP(&opts.AddImageTag, "add-image-tag", "", false, "Add add an image tag to the generated file by image-name-with-digest-file flag.")
RootCmd.PersistentFlags().StringVarP(&opts.OCILayoutPath, "oci-layout-path", "", "", "Path to save the OCI image layout of the built image.")
RootCmd.PersistentFlags().BoolVarP(&opts.Cache, "cache", "", false, "Use cache when building image")
RootCmd.PersistentFlags().BoolVarP(&opts.Cleanup, "cleanup", "", false, "Clean the filesystem at the end")
Expand Down

0 comments on commit 9009e31

Please sign in to comment.