From 0f6513a29aca40226fa8c47b9fd2a930bb718ba2 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 7 Jun 2023 01:57:25 +0200 Subject: [PATCH] build: mark result handle build as internal Signed-off-by: CrazyMax (cherry picked from commit 418ea82d3a972cf01c0c5b2968242f62daec4b8f) --- build/result.go | 1 + 1 file changed, 1 insertion(+) diff --git a/build/result.go b/build/result.go index 91ba9efad5c..3cd37b7b70b 100644 --- a/build/result.go +++ b/build/result.go @@ -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 {