mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-03 09:57:41 +08:00
build: fix preferred platform not taken account
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
a718d07f64
commit
49b3c0dba5
@ -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