Skip to content

Commit

Permalink
Remove architecture dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Jul 17, 2024
1 parent 67881c7 commit 40c9f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/ecs_services/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ resource "null_resource" "build_worker_ecr_image" {
command = <<EOF
cd ../${path.root}
aws ecr get-login-password --region ${var.aws_region} | docker login --username AWS --password-stdin ${var.account_id}.dkr.ecr.${var.aws_region}.amazonaws.com
docker buildx build --platform linux/amd64,linux/arm64 -t ${aws_ecr_repository.worker_airflow.repository_url}:latest -f airflow_worker/Dockerfile .
docker buildx build -t ${aws_ecr_repository.worker_airflow.repository_url}:latest -f airflow_worker/Dockerfile .
docker push ${aws_ecr_repository.worker_airflow.repository_url}:latest
cd -
EOF
Expand Down

0 comments on commit 40c9f8c

Please sign in to comment.