Skip to content

Commit 2dde5fa

Browse files
committed
add support for cache_to with bake
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent f7825a5 commit 2dde5fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/compose/build_bake.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
213213
Labels: build.Labels,
214214
Tags: append(build.Tags, api.GetImageNameOrDefault(service, project.Name)),
215215

216-
CacheFrom: build.CacheFrom,
217-
// CacheTo: TODO
216+
CacheFrom: build.CacheFrom,
217+
CacheTo: build.CacheTo,
218218
Platforms: build.Platforms,
219219
Target: build.Target,
220220
Secrets: toBakeSecrets(project, build.Secrets),

0 commit comments

Comments
 (0)