diff --git a/build/build.go b/build/build.go index 532bb0c169b..fd6a093746f 100644 --- a/build/build.go +++ b/build/build.go @@ -421,7 +421,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") } } }