build: mark result handle build as internal

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1954/head
CrazyMax 2 years ago
parent 7c3b77fb36
commit 418ea82d3a
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -160,6 +160,7 @@ func NewResultHandle(ctx context.Context, cc *client.Client, opt client.SolveOpt
opt.Ref = ""
opt.Exports = nil
opt.CacheExports = nil
opt.Internal = true
_, respErr = cc.Build(ctx, opt, "buildx", func(ctx context.Context, c gateway.Client) (*gateway.Result, error) {
res, err := evalDefinition(ctx, c, def)
if err != nil {

Loading…
Cancel
Save