Skip to content

Commit

Permalink
update ecr deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Apr 23, 2024
1 parent 8b40803 commit 4624e11
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 @@ -22,7 +22,7 @@ resource "null_resource" "upload_ecr_image" {
interpreter = ["/bin/bash", "-e", "-c"]
command = <<EOF
# Docker login
echo ${data.aws_ecr_authorization_token.token.password} | docker login -u AWS --password-stdin ${data.aws_ecr_authorization_token.token.proxy_endpoint}
echo ${data.aws_ecr_authorization_token.token.password} | docker login -u AWS --password-stdin ${data.aws_ecr_authorization_token.token.proxy_endpoint} | true
# Docker image upload
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}
Expand Down

0 comments on commit 4624e11

Please sign in to comment.