mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to 2f99651
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
10
vendor/github.com/moby/buildkit/client/llb/state.go
generated
vendored
10
vendor/github.com/moby/buildkit/client/llb/state.go
generated
vendored
@ -505,6 +505,10 @@ func mergeMetadata(m1, m2 pb.OpMetadata) pb.OpMetadata {
|
||||
m1.Caps[k] = true
|
||||
}
|
||||
|
||||
if m2.ProgressGroup != nil {
|
||||
m1.ProgressGroup = m2.ProgressGroup
|
||||
}
|
||||
|
||||
return m1
|
||||
}
|
||||
|
||||
@ -594,6 +598,12 @@ func LocalUniqueID(v string) ConstraintsOpt {
|
||||
})
|
||||
}
|
||||
|
||||
func ProgressGroup(id, name string) ConstraintsOpt {
|
||||
return constraintsOptFunc(func(c *Constraints) {
|
||||
c.Metadata.ProgressGroup = &pb.ProgressGroup{Id: id, Name: name}
|
||||
})
|
||||
}
|
||||
|
||||
var (
|
||||
LinuxAmd64 = Platform(ocispecs.Platform{OS: "linux", Architecture: "amd64"})
|
||||
LinuxArmhf = Platform(ocispecs.Platform{OS: "linux", Architecture: "arm", Variant: "v7"})
|
||||
|
Reference in New Issue
Block a user