pipeline: forward the no-cache option to the dockerbuild frontend
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
9ffe5c053c
commit
075fbbf3d5
@ -722,6 +722,10 @@ func (p *Pipeline) DockerBuild(ctx context.Context, op *compiler.Value, st llb.S
|
|||||||
return st, err
|
return st, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if p.s.noCache {
|
||||||
|
opts["no-cache"] = ""
|
||||||
|
}
|
||||||
|
|
||||||
req := bkgw.SolveRequest{
|
req := bkgw.SolveRequest{
|
||||||
Frontend: "dockerfile.v0",
|
Frontend: "dockerfile.v0",
|
||||||
FrontendOpt: opts,
|
FrontendOpt: opts,
|
||||||
|
Reference in New Issue
Block a user