Ben Muller
06/23/2021, 10:43 PMDocker
storage to push an image to ECR.
I am authenticated with aws sts assume-role
locally in my CLI.
I am trying to push the image locally at the moment and getting an error with:
File "/Users/benmuller/code/es-betfair-flows/.venv/lib/python3.8/site-packages/prefect/storage/docker.py", line 585, in push_image
raise InterruptedError(line.get("error"))
InterruptedError: denied: Your authorization token has expired. Reauthenticate and try again.
How can I make sure that my sts
creds are honoured ?Kevin Kho
aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin <http://123456678.dkr.ecr.us-east-2.amazonaws.com|123456678.dkr.ecr.us-east-2.amazonaws.com>
to authenticate to ECR?Kevin Kho