From 8400199f24b4c3f7d84fee1073715aeffda52b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCrbach?= Date: Tue, 3 Jan 2023 10:52:15 +0100 Subject: [PATCH] fix: remove invalid cache-from registry entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Würbach --- pkg/compose/build.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/compose/build.go b/pkg/compose/build.go index 9056209cd00..ab6eaca499b 100644 --- a/pkg/compose/build.go +++ b/pkg/compose/build.go @@ -72,12 +72,6 @@ func (s *composeService) build(ctx context.Context, project *types.Project, opti if err != nil { return err } - for _, image := range service.Build.CacheFrom { - buildOptions.CacheFrom = append(buildOptions.CacheFrom, bclient.CacheOptionsEntry{ - Type: "registry", - Attrs: map[string]string{"ref": image}, - }) - } buildOptions.Exports = []bclient.ExportEntry{{ Type: "docker", Attrs: map[string]string{