error message for --push option

Signed-off-by: Kotaro Adachi <k33asby@gmail.com>
pull/360/head
Kotaro Adachi 4 years ago
parent e24e04be57
commit 1384bf02f9

@ -421,7 +421,7 @@ func toSolveOpt(d driver.Driver, multiDriver bool, opt Options, dl dockerLoadCal
opt.Exports[i].Type = "moby" opt.Exports[i].Type = "moby"
if e.Attrs["push"] != "" { if e.Attrs["push"] != "" {
if ok, _ := strconv.ParseBool(e.Attrs["push"]); ok { 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")
} }
} }
} }

Loading…
Cancel
Save