-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
saving container image optional #1851
base: main
Are you sure you want to change the base?
Conversation
23dcc5a
to
8e41a35
Compare
8e41a35
to
87643e8
Compare
Codecov ReportBase: 21.65% // Head: 21.65% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## main #1851 +/- ##
=======================================
Coverage 21.65% 21.65%
=======================================
Files 72 72
Lines 6586 6586
=======================================
Hits 1426 1426
Misses 4974 4974
Partials 186 186 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: HIHIA <[email protected]>
87643e8
to
a834725
Compare
@@ -92,6 +92,7 @@ func NewBuildCmd() *cobra.Command { | |||
buildCmd.Flags().StringSliceVar(&buildFlags.Annotations, "annotation", []string{}, "add annotations for image. Format like --annotation key=[value]") | |||
buildCmd.Flags().StringSliceVar(&buildFlags.Labels, "label", []string{getSealerLabel()}, "add labels for image. Format like --label key=[value]") | |||
buildCmd.Flags().BoolVar(&buildFlags.NoCache, "no-cache", false, "do not use existing cached images for building. Build from the start with a new set of cached layers.") | |||
buildCmd.Flags().BoolVarP(&buildFlags.DownloadContainerImage, "download-container-image", "d", true, "save the container image generated during the build process.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about adding a new flag like buildMode
?
And different build mode means different logic of execution
Describe what this PR does / why we need it
Does this pull request fix one issue?
Fixes #1849
Describe how you did it
Describe how to verify it
Special notes for reviews