File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 6868 - name : Checkout Code
6969 uses : actions/checkout@v4
7070
71+ - name : Set up QEMU
72+ uses : docker/setup-qemu-action@v3
73+
74+ - name : Set up Docker Buildx
75+ uses : docker/setup-buildx-action@v3
76+
7177 - name : Configure AWS Credentials
7278 uses : aws-actions/configure-aws-credentials@v4
7379 with :
@@ -88,11 +94,13 @@ jobs:
8894 # Build a docker container and push it to ECR
8995 # Using --platform linux/arm64 for Lambda compatibility
9096 cd backend
91- docker build --platform linux/arm64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
92- docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
97+ docker buildx build --platform linux/arm64 -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --push .
9398
9499 - name : Update Lambda Function
100+ env :
101+ ECR_REGISTRY : ${{ steps.login-ecr.outputs.registry }}
102+ ECR_REPOSITORY : ${{ secrets.ECR_REPOSITORY }}
95103 run : |
96104 aws lambda update-function-code \
97105 --function-name ${{ secrets.LAMBDA_FUNCTION_NAME }} \
98- --image-uri ${{ steps.login-ecr.outputs.registry }}/${{ secrets. ECR_REPOSITORY }} :latest
106+ --image-uri $ECR_REGISTRY/$ ECR_REPOSITORY:latest
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ def send_detailed_analysis_email(
405405 "total_matches" : len (colleges ),
406406 "high_chance_count" : high_chance ,
407407 "branches_count" : len (branches ),
408- "colleges" : colleges [:15 ], # Top 15
408+ "colleges" : colleges [:50 ],
409409 "branch_distribution" : branch_distribution or [],
410410 "generation_date" : datetime .now (),
411411 "chat_url" : _get_chat_url (session_id ),
You can’t perform that action at this time.
0 commit comments