bake: support compose build cache_to

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2022-06-23 21:44:06 +02:00
parent 3cf549a7f7
commit b438032a60
2 changed files with 12 additions and 2 deletions

View File

@ -100,6 +100,7 @@ func ParseCompose(dt []byte) (*Config, error) {
return val, ok
})),
CacheFrom: s.Build.CacheFrom,
CacheTo: s.Build.CacheTo,
NetworkMode: &s.Build.Network,
Secrets: secrets,
}