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", region_name=region)
|
||||||
ecr = boto3.client("ecr-public", region_name=region)
|
ecr = boto3.client("ecr-public", region_name=region)
|
||||||
auth = ecr.get_authorization_token()
|
auth = ecr.get_authorization_token()
|
||||||
print(f"Check the auth {auth}")
|
token = auth["authorizationData"]["authorizationToken"]
|
||||||
token = auth["authorizationData"][0]["authorizationToken"]
|
|
||||||
username, password = base64.b64decode(token).decode().split(":")
|
username, password = base64.b64decode(token).decode().split(":")
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user