From 341cd20e82481fa26f3026d124460b87b7e0143a Mon Sep 17 00:00:00 2001 From: HarshaliRaka Date: Fri, 27 Feb 2026 08:45:32 +0000 Subject: [PATCH] Use --publish flag with pack build to skip local docker daemon and directly publish to repository. Signed-off-by: HarshaliRaka --- cmd/cloudshell_open/pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudshell_open/pack.go b/cmd/cloudshell_open/pack.go index 39eb81da..4205907b 100644 --- a/cmd/cloudshell_open/pack.go +++ b/cmd/cloudshell_open/pack.go @@ -20,7 +20,7 @@ import ( ) func packBuild(dir, image, builderImage string) error { - cmd := exec.Command("pack", "build", "--quiet", "--builder", builderImage, "--path", dir, image) + cmd := exec.Command("pack", "build", "--quiet", "--builder", builderImage, "--path", dir, image, "--publish") b, err := cmd.CombinedOutput() if err != nil { return fmt.Errorf("pack build failed: %v, output:\n%s", err, string(b))