Skip to content

Commit

Permalink
Merge pull request #360 from kotaroooo0/fix-error-message-for-push-op…
Browse files Browse the repository at this point in the history
…tion

build: fix error message for --push option
  • Loading branch information
tonistiigi authored Aug 25, 2020
2 parents 35ee6ce + 1384bf0 commit a11cc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ func toSolveOpt(d driver.Driver, multiDriver bool, opt Options, dl dockerLoadCal
opt.Exports[i].Type = "moby"
if e.Attrs["push"] != "" {
if ok, _ := strconv.ParseBool(e.Attrs["push"]); ok {
return nil, nil, errors.Errorf("auto-push is currently not implemented for docker driver")
return nil, nil, errors.Errorf("auto-push is currently not implemented for docker driver, please create a new builder instance")
}
}
}
Expand Down

0 comments on commit a11cc88

Please sign in to comment.