From 4d41e3bad7bf28a2dd53608287c01049e364c425 Mon Sep 17 00:00:00 2001 From: tuti Date: Tue, 26 Nov 2024 15:21:18 -0800 Subject: [PATCH] fix default value for publishing images for hashreleases --- release/build/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/build/main.go b/release/build/main.go index fce60aace3b..1fa544de32d 100644 --- a/release/build/main.go +++ b/release/build/main.go @@ -294,7 +294,7 @@ func hashreleaseSubCommands(cfg *config.Config) []*cli.Command { &cli.StringFlag{Name: orgFlag, Usage: "Git organization", EnvVars: []string{"ORGANIZATION"}, Value: config.DefaultOrg}, &cli.StringFlag{Name: repoFlag, Usage: "Git repository", EnvVars: []string{"GIT_REPO"}, Value: config.DefaultRepo}, &cli.StringSliceFlag{Name: imageRegistryFlag, Usage: "Specify image registry or registries to use", EnvVars: []string{"REGISTRIES"}, Value: &cli.StringSlice{}}, - &cli.BoolFlag{Name: skipPublishImagesFlag, Usage: "Skip publishing of container images to registry/registries", EnvVars: []string{"SKIP_PUBLISH_IMAGES"}, Value: false}, + &cli.BoolFlag{Name: skipPublishImagesFlag, Usage: "Skip publishing of container images to registry/registries", EnvVars: []string{"SKIP_PUBLISH_IMAGES"}, Value: true}, &cli.BoolFlag{Name: skipPublishHashreleaseFlag, Usage: "Skip publishing to hashrelease server", Value: false}, &cli.BoolFlag{Name: latestFlag, Usage: "Promote this release as the latest for this stream", Value: true}, &cli.BoolFlag{Name: skipValidationFlag, Usage: "Skip pre-build validation", Value: false},