From 8bd81075f29dc79aaa4cc2a519cf1bc80216f728 Mon Sep 17 00:00:00 2001 From: DatTT127 Date: Sun, 19 Jul 2026 01:33:18 +0700 Subject: [PATCH] update --- .../deps/implementation/backend_deploy/gitea_modal_build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/gitea_modal_build.py b/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/gitea_modal_build.py index e10878e..90c55d2 100644 --- a/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/gitea_modal_build.py +++ b/workspace/sprint_1_2/CODEBASE/deps/implementation/backend_deploy/gitea_modal_build.py @@ -98,8 +98,7 @@ def build_and_push( # ecr = boto3.client("ecr", region_name=region) ecr = boto3.client("ecr-public", region_name=region) auth = ecr.get_authorization_token() - print(f"Check the auth {auth}") - token = auth["authorizationData"][0]["authorizationToken"] + token = auth["authorizationData"]["authorizationToken"] username, password = base64.b64decode(token).decode().split(":") config = {