Merge pull request #1955 from crazy-max/v0.11_backport_result-handle-internal

[0.11 backport] build: mark result handle build as internal
This commit is contained in:
CrazyMax 2023-07-17 20:51:47 +02:00 committed by GitHub
commit a8790788d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {