Skip to content

Commit

Permalink
Add missing platform flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed Dec 3, 2024
1 parent 4beb5d1 commit 292983d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud/common/deploy/image/inline.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func BuildWrappedImage(args *BuildWrappedImageArgs) (string, error) {
}

response, err := client.ImageBuild(context.TODO(), tarBuildContext, types.ImageBuildOptions{
Platform: "linux/amd64",
BuildArgs: buildArgs,
Tags: []string{args.TargetImage},
Dockerfile: "Dockerfile",
Expand Down

0 comments on commit 292983d

Please sign in to comment.