Skip to content

Commit

Permalink
error message for --push option
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Adachi <[email protected]>
  • Loading branch information
kotaroooo0 committed Aug 22, 2020
1 parent e24e04b commit 1384bf0
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 @@ -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")
}
}
}
Expand Down

0 comments on commit 1384bf0

Please sign in to comment.