Skip to content

Commit

Permalink
Merge pull request moby#45692 from vvoland/builder-use-moby-exporter-…
Browse files Browse the repository at this point in the history
…by-default-24

[backport 24.0] builder-next: Set moby exporter as default
  • Loading branch information
neersighted authored Jun 2, 2023
2 parents c671434 + 647ba03 commit 8e70a1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions builder/builder-next/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 8e70a1b

Please sign in to comment.