buildctl: fix frontends ignore-cache setting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-18.09
parent
f2f4b534d4
commit
b3092ab51c
|
@ -218,8 +218,10 @@ func build(clicontext *cli.Context) error {
|
|||
return err
|
||||
}
|
||||
} else {
|
||||
if clicontext.Bool("no-cache") {
|
||||
solveOpt.FrontendAttrs["no-cache"] = ""
|
||||
}
|
||||
}
|
||||
|
||||
eg.Go(func() error {
|
||||
resp, err := c.Solve(ctx, def, solveOpt, ch)
|
||||
|
|
Loading…
Reference in New Issue