Skip to content

Commit

Permalink
specifcy build to use linux/amd64 for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Feb 28, 2024
1 parent 76d5467 commit 33d5b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/cloud/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func BuildPushImageForDeploy(service string, config *DeployConfigService, deploy
var in = bytes.NewBuffer([]byte{})
sh.SetInStream(in)

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

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

0 comments on commit 33d5b8e

Please sign in to comment.