mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-04 18:48:45 +08:00
Merge pull request #1561 from crazy-max/fix-preferred-platform
build: fix preferred platform not taken into account
This commit is contained in:
commit
eacecf657c
@ -62,6 +62,7 @@ func (b *Builder) LoadNodes(ctx context.Context, withData bool) (_ []Node, err e
|
|||||||
node := Node{
|
node := Node{
|
||||||
Node: n,
|
Node: n,
|
||||||
ProxyConfig: storeutil.GetProxyConfig(b.opts.dockerCli),
|
ProxyConfig: storeutil.GetProxyConfig(b.opts.dockerCli),
|
||||||
|
Platforms: n.Platforms,
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
b.nodes[i] = node
|
b.nodes[i] = node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user