update
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user