From 0a84bbb0a6483fbb6f04be33fe7a222c4d4aae62 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Tue, 12 Nov 2024 14:46:32 +0800 Subject: [PATCH] ci: change arch for apprunner --- server/scripts/push-to-ecr.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/scripts/push-to-ecr.sh b/server/scripts/push-to-ecr.sh index 4fc7bb7..56f986a 100644 --- a/server/scripts/push-to-ecr.sh +++ b/server/scripts/push-to-ecr.sh @@ -9,7 +9,7 @@ set -o pipefail # exit on any error in a pipeline # Define variables TAG="latest" -ARCHS=("arm64" "amd64") +ARCHS=("amd64") AWS_REGIONS=("us-east-1") # List of AWS region, use below list if you don't enable ECR repository replication # AWS_REGIONS=("us-east-1" "us-west-2" "ap-southeast-1" "ap-southeast-2" "ap-northeast-1" "eu-central-1" "eu-west-3") # List of supported AWS regions @@ -39,7 +39,6 @@ build_and_push_images() { # Create repository URI REPOSITORY_URI="${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/${IMAGE_NAME}" - echo REPOSITORY_URI # Create ECR repository if it doesn't exist aws ecr create-repository --repository-name "${IMAGE_NAME}" --region $REGION || true