From d2c8830711fa6aad6326094538dbc08da2ab9bab Mon Sep 17 00:00:00 2001 From: Jacob Gillespie Date: Mon, 9 Sep 2024 15:07:02 +0100 Subject: [PATCH] Add support for `build.platforms` in Compose files --- pkg/buildx/bake/compose.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/buildx/bake/compose.go b/pkg/buildx/bake/compose.go index 3a8cf376..d3eed126 100644 --- a/pkg/buildx/bake/compose.go +++ b/pkg/buildx/bake/compose.go @@ -133,6 +133,7 @@ func ParseCompose(cfgs []compose.ConfigFile, envs map[string]string) (*Config, e CacheFrom: s.Build.CacheFrom, CacheTo: s.Build.CacheTo, NetworkMode: &s.Build.Network, + Platforms: s.Build.Platforms, SSH: ssh, Secrets: secrets, }