Add a --prefer-index flag that allows you to specify the preferred behavior when deciding on how to create an image/manifest from a single source.

Signed-off-by: Tim Smith <tismith@rvohealth.com>
This commit is contained in:
Tim Smith
2024-05-29 14:07:28 -04:00
parent 0808747add
commit abf6c77d91
3 changed files with 11 additions and 4 deletions

View File

@ -608,7 +608,7 @@ func BuildWithResultHandler(ctx context.Context, nodes []builder.Node, opt map[s
}
}
dt, desc, err := itpull.Combine(ctx, srcs, nil)
dt, desc, err := itpull.Combine(ctx, srcs, nil, false)
if err != nil {
return err
}