diff --git a/pkg/skaffold/runner/runner.go b/pkg/skaffold/runner/runner.go index f0a44cab34b..ce2389a0035 100644 --- a/pkg/skaffold/runner/runner.go +++ b/pkg/skaffold/runner/runner.go @@ -147,12 +147,15 @@ func getTagger(t v1alpha2.TagPolicy, customTag string) (tag.Tagger, error) { // Build builds the artifacts. func (r *SkaffoldRunner) Build(ctx context.Context) error { bRes, err := r.build(ctx, r.config.Build.Artifacts) + if err != nil { + return err + } for _, res := range bRes.Builds { fmt.Fprintf(r.out, "%s -> %s\n", res.ImageName, res.Tag) } - return err + return nil } // Run runs the skaffold build and deploy pipeline.