From 647ba0322473b1f0a8d7a13875051d547d112bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Thu, 1 Jun 2023 00:35:59 +0200 Subject: [PATCH] builder-next: Set moby exporter as default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Gronowski (cherry picked from commit d63569c73d467af1030b166e1a0e730e49bfbf4e) Signed-off-by: Paweł Gronowski --- builder/builder-next/builder.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/builder/builder-next/builder.go b/builder/builder-next/builder.go index f6a89633e6570..f2a4ef0c9db0f 100644 --- a/builder/builder-next/builder.go +++ b/builder/builder-next/builder.go @@ -355,11 +355,7 @@ func (b *Builder) Build(ctx context.Context, opt backend.BuildConfig) (*builder. exporterName := "" exporterAttrs := map[string]string{} if len(opt.Options.Outputs) == 0 { - if b.useSnapshotter { - exporterName = client.ExporterImage - } else { - exporterName = exporter.Moby - } + exporterName = exporter.Moby } else { // cacheonly is a special type for triggering skipping all exporters if opt.Options.Outputs[0].Type != "cacheonly" {