Skip to content

Commit

Permalink
fix(infra): force linux/amd64 platform for building job-runner artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Jun 21, 2024
1 parent 427eeaf commit e544e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/tf/infra_artifacts/job_runner.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "null_resource" "job_runner_build" {
DST_BINARY_PATH="${local.job_runner_dst_binary_path}"
# Build the Docker image
docker build -t $IMAGE_NAME '${local.job_runner_src_dir}'
docker build --platform linux/amd64 -t $IMAGE_NAME '${local.job_runner_src_dir}'
# Create a temporary container
docker create --name $CONTAINER_NAME $IMAGE_NAME
Expand Down

0 comments on commit e544e80

Please sign in to comment.