mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-04 18:48:45 +08:00
error message for --push option
Signed-off-by: Kotaro Adachi <k33asby@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user