mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
build: mark result handle build as internal
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> (cherry picked from commit 418ea82d3a972cf01c0c5b2968242f62daec4b8f)
This commit is contained in:
parent
44f5946a66
commit
0f6513a29a
@ -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…
x
Reference in New Issue
Block a user