update
Some checks failed
Backend EC - Modal Deployment / build-and-push (push) Failing after 52s
Backend EC - Modal Deployment / notify-deploy (push) Has been skipped

This commit is contained in:
DatTT127
2026-07-19 01:33:18 +07:00
parent d54a586509
commit 8bd81075f2

View File

@@ -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 = {