mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-29 08:57:44 +08:00
Merge pull request #1954 from crazy-max/result-handle-internal
build: mark result handle build as internal
This commit is contained in:
commit
36541ed9d5
@ -160,6 +160,7 @@ func NewResultHandle(ctx context.Context, cc *client.Client, opt client.SolveOpt
|
|||||||
opt.Ref = ""
|
opt.Ref = ""
|
||||||
opt.Exports = nil
|
opt.Exports = nil
|
||||||
opt.CacheExports = nil
|
opt.CacheExports = nil
|
||||||
|
opt.Internal = true
|
||||||
_, respErr = cc.Build(ctx, opt, "buildx", func(ctx context.Context, c gateway.Client) (*gateway.Result, error) {
|
_, respErr = cc.Build(ctx, opt, "buildx", func(ctx context.Context, c gateway.Client) (*gateway.Result, error) {
|
||||||
res, err := evalDefinition(ctx, c, def)
|
res, err := evalDefinition(ctx, c, def)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user