Merge pull request #45692 from vvoland/builder-use-moby-exporter-by-default-24
[backport 24.0] builder-next: Set moby exporter as default
This commit is contained in:
commit
8e70a1b23e
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
} else {
|
||||
// cacheonly is a special type for triggering skipping all exporters
|
||||
if opt.Options.Outputs[0].Type != "cacheonly" {
|
||||
|
|
Loading…
Reference in a new issue