From 1384bf02f95a2decb0c6d7fa5912a6599b3192de Mon Sep 17 00:00:00 2001 From: Kotaro Adachi Date: Sun, 23 Aug 2020 00:03:13 +0900 Subject: [PATCH] error message for --push option Signed-off-by: Kotaro Adachi --- build/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } } }