Skip to content

Commit 33d5b8e

Browse files
committed
specifcy build to use linux/amd64 for deployment
1 parent 76d5467 commit 33d5b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/cloud/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func BuildPushImageForDeploy(service string, config *DeployConfigService, deploy
3232
var in = bytes.NewBuffer([]byte{})
3333
sh.SetInStream(in)
3434

35-
dockerBuild := builder.NewCommand("docker", "build", "-t", image)
35+
dockerBuild := builder.NewCommand("docker", "build", "-t", image, "--platform", "linux/amd64")
3636

3737
if folder, isStr := (*config.Build).(string); isStr {
3838
// this should be a simple build with a context folder

0 commit comments

Comments
 (0)