Merge pull request #360 from kotaroooo0/fix-error-message-for-push-option

build: fix error message for --push option
pull/297/head
Tõnis Tiigi 4 years ago committed by GitHub
commit a11cc8840e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -416,7 +416,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")
}
}
}

Loading…
Cancel
Save