import boto3
aws = dict
def main(aws: aws, ecr: str = "windmill-labs/windmill"):
session = boto3.session.Session(
aws_access_key_id=aws["awsAccessKeyId"],
aws_secret_access_key=aws["awsSecretAccessKey"],
region_name=aws["region"]
)
client = boto3.client("ecr")
return client.list_images(
repositoryName=ecr,
maxResults=1000,
)
Submitted by adam186 730 days ago