Today I tried to push my docker image to AWS but constantly get the error:
denied: Your Authorization Token has expired. Please run ‘aws ecr get-login’ to fetch a new one.
There seems to be a bug because when I looked at the generated key I saw
docker login -u AWS -p -e none https://xxx.dkr.ecr.us-west-2.amazonaws.com
The problem is -e none.
If you have the same problem just copy the request and execute it without -e none.