mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.19.0-rc1
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
2
vendor/github.com/moby/buildkit/frontend/dockerui/build.go
generated
vendored
2
vendor/github.com/moby/buildkit/frontend/dockerui/build.go
generated
vendored
@ -70,7 +70,7 @@ func (bc *Client) Build(ctx context.Context, fn BuildFunc) (*ResultBuilder, erro
|
||||
}
|
||||
|
||||
p = platforms.Normalize(p)
|
||||
k := platforms.Format(p)
|
||||
k := platforms.FormatAll(p)
|
||||
|
||||
if bc.MultiPlatformRequested {
|
||||
res.AddRef(k, ref)
|
||||
|
2
vendor/github.com/moby/buildkit/frontend/dockerui/config.go
generated
vendored
2
vendor/github.com/moby/buildkit/frontend/dockerui/config.go
generated
vendored
@ -463,7 +463,7 @@ func (bc *Client) NamedContext(ctx context.Context, name string, opt ContextOpt)
|
||||
if opt.Platform != nil {
|
||||
pp = *opt.Platform
|
||||
}
|
||||
pname := name + "::" + platforms.Format(platforms.Normalize(pp))
|
||||
pname := name + "::" + platforms.FormatAll(platforms.Normalize(pp))
|
||||
st, img, err := bc.namedContext(ctx, name, pname, opt)
|
||||
if err != nil || st != nil {
|
||||
return st, img, err
|
||||
|
Reference in New Issue
Block a user