commands: implement ls

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2019-04-15 15:10:50 -07:00
parent b7e15f3113
commit 0f4de0d7e4
6 changed files with 118 additions and 28 deletions

View File

@ -149,7 +149,7 @@ func Build(ctx context.Context, drivers []DriverInfo, opt map[string]Options, pw
opt.Exports[i].Type = "moby"
if e.Attrs["push"] != "" {
if ok, _ := strconv.ParseBool(e.Attrs["push"]); ok {
return nil, errors.Errorf("auto-push is currently not implemented for moby driver")
return nil, errors.Errorf("auto-push is currently not implemented for docker driver")
}
}
}