Skip to content

Commit

Permalink
Merge pull request #56 from podaac/feature/fix_tig_pull
Browse files Browse the repository at this point in the history
fix tig pull by specify platform
  • Loading branch information
jamesfwood authored Mar 14, 2024
2 parents 283fe70 + 1566f6e commit ca459ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/tig_ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource null_resource upload_ecr_image {
provisioner "local-exec" {
interpreter = ["/bin/bash", "-e", "-c"]
command = <<EOF
docker pull ${var.lambda_container_image_uri}
docker pull --platform=linux/arm/v7 ${var.lambda_container_image_uri}
docker tag ${var.lambda_container_image_uri} ${aws_ecr_repository.lambda-image-repo.repository_url}:${local.ecr_image_tag}
docker push ${aws_ecr_repository.lambda-image-repo.repository_url}:${local.ecr_image_tag}
EOF
Expand Down

0 comments on commit ca459ab

Please sign in to comment.