mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.11.2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
4
vendor/github.com/moby/buildkit/client/solve.go
generated
vendored
4
vendor/github.com/moby/buildkit/client/solve.go
generated
vendored
@ -49,6 +49,7 @@ type SolveOpt struct {
|
||||
SessionPreInitialized bool // TODO: refactor to better session syncing
|
||||
Internal bool
|
||||
SourcePolicy *spb.Policy
|
||||
Ref string
|
||||
}
|
||||
|
||||
type ExportEntry struct {
|
||||
@ -95,6 +96,9 @@ func (c *Client) solve(ctx context.Context, def *llb.Definition, runGateway runG
|
||||
}
|
||||
|
||||
ref := identity.NewID()
|
||||
if opt.Ref != "" {
|
||||
ref = opt.Ref
|
||||
}
|
||||
eg, ctx := errgroup.WithContext(ctx)
|
||||
|
||||
statusContext, cancelStatus := context.WithCancel(context.Background())
|
||||
|
Reference in New Issue
Block a user