We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0bc99d0 + ec3ccc6 commit f839b69Copy full SHA for f839b69
1 file changed
pkg/oci/build.go
@@ -86,7 +86,7 @@ func BuildDockerImage(ctx context.Context, agentFilePath, dockerImageName string
86
if dockerImageName != "" {
87
buildArgs = append(buildArgs, "-t", dockerImageName)
88
if opts.Push {
89
- buildArgs = append(buildArgs, "--push")
+ buildArgs = append(buildArgs, "--push", "--platform", "linux/amd64,linux/arm64")
90
}
91
92
buildArgs = append(buildArgs, "-")
0 commit comments