From 49b3c0dba5143966f997f2ecd29bc7adc3d95d1a Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 27 Jan 2023 19:38:54 +0100 Subject: [PATCH] build: fix preferred platform not taken account Signed-off-by: CrazyMax --- builder/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/node.go b/builder/node.go index f565738d..459dd282 100644 --- a/builder/node.go +++ b/builder/node.go @@ -62,6 +62,7 @@ func (b *Builder) LoadNodes(ctx context.Context, withData bool) (_ []Node, err e node := Node{ Node: n, ProxyConfig: storeutil.GetProxyConfig(b.opts.dockerCli), + Platforms: n.Platforms, } defer func() { b.nodes[i] = node