We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents febc40d + 7e7355e commit 4c155dbCopy full SHA for 4c155db
pkg/load/cli.go
@@ -84,7 +84,7 @@ func WithDepotImagePull(buildOpts map[string]build.Options, loadOpts DepotLoadOp
84
if len(platforms) == 1 {
85
platform := platforms[0]
86
pullOpt.Platform = &platform
87
- } else if len(platforms) == 0 && loadOpts.BuildPlatform != "" {
+ } else if len(platforms) == 0 && loadOpts.BuildPlatform != "" && loadOpts.BuildPlatform != "dynamic" {
88
// When --build-platform is specified but platforms is not set in the
89
// compose file, use the build platform so Docker pulls the correct
90
// architecture instead of defaulting to the host architecture.
0 commit comments