Skip to content

Commit

Permalink
Merge pull request #553 from errordeveloper/master
Browse files Browse the repository at this point in the history
Add missing error check (close #551)
  • Loading branch information
dgageot authored May 15, 2018
2 parents f5422a6 + 9e0052c commit fdc7f20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/skaffold/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fdc7f20

Please sign in to comment.