Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 9d6a410

Browse files
committed
Change bundle output
When running `docker app bundle ...` it will now output: Invocation image "<username>/myapp:v0.3-invoc" successfully built Bundle saved in <PATH_TO_BUNDE_JSON> Signed-off-by: Djordje Lukic <[email protected]>
1 parent 49ae99f commit 9d6a410

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/commands/bundle.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ func runBundle(dockerCli command.Cli, appName string, opts bundleOptions) error
7171
_, err = dockerCli.Out().Write(bundleBytes)
7272
return err
7373
}
74-
return ioutil.WriteFile(opts.out, bundleBytes, 0644)
74+
if err := ioutil.WriteFile(opts.out, bundleBytes, 0644); err != nil {
75+
return err
76+
}
77+
fmt.Fprintf(os.Stdout, "Bundle saved in %s\n", opts.out)
78+
return nil
7579
}
7680

7781
func makeBundle(dockerCli command.Cli, appName string, refOverride reference.NamedTagged) (*bundle.Bundle, error) {

0 commit comments

Comments
 (0)