Merge pull request #730 from tonistiigi/no-cache-fix
buildctl: fix frontends ignore-cache settingdocker-18.09 v0.3.3
commit
8cf9bec86a
|
@ -218,7 +218,9 @@ func build(clicontext *cli.Context) error {
|
|||
return err
|
||||
}
|
||||
} else {
|
||||
solveOpt.FrontendAttrs["no-cache"] = ""
|
||||
if clicontext.Bool("no-cache") {
|
||||
solveOpt.FrontendAttrs["no-cache"] = ""
|
||||
}
|
||||
}
|
||||
|
||||
if clicontext.String("frontend") != "" && len(clicontext.StringSlice("import-cache")) != 0 {
|
||||
|
|
Loading…
Reference in New Issue