You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recall we discussed about this internally but can't find any related issue here. I agree that definition fields should be aligned with cli flags for consistency.
Maybe that's something we could work on for Bake GA? cc @thompson-shaun
Contributing guidelines
I've found a bug and checked that ...
Description
In HCL:
Documented as
target.platforms
(plural) @ https://docs.docker.com/build/bake/reference/#targetplatformsOn CLI:
docker buildx bake --set='foo.platform=linux/arm64,linux/amd64'
Documented as
{target}.platform
(singular) @ https://docs.docker.com/reference/cli/docker/buildx/bake/#setExpected behaviour
Either
platform
orplatforms
should be used consistently throughout or both should be accepted interchangablyActual behaviour
HCL uses
platforms
while CLI usesplatform
Buildx version
github.com/docker/buildx v0.19.3 Homebrew
Docker info
Builders list
Configuration
See description for examples
Build logs
Additional info
No response
The text was updated successfully, but these errors were encountered: