build: mark result handle build as internal

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 418ea82d3a)
pull/1955/head
CrazyMax 2 years ago
parent 44f5946a66
commit 0f6513a29a
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