diff --git a/pkg/compose/build_bake.go b/pkg/compose/build_bake.go index 034000427..ac474bc77 100644 --- a/pkg/compose/build_bake.go +++ b/pkg/compose/build_bake.go @@ -220,7 +220,7 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project } if options.Print { - _, err = fmt.Fprintln(s.stdinfo(), string(b)) + _, err = fmt.Fprintln(s.stdout(), string(b)) return nil, err } logrus.Debugf("bake build config:\n%s", string(b))