Getting permission denied when trying to push docker image to Amazon ECR repository

My AWS user has AdministratorAccess policy attached. enter image description here

I am able to login using the AWS CLI v2 by running the following command:

 aws ecr get-login-password --region us-east-1 | docker login --username <username> --password-stdin <password>

Then i run the following command to push a docker image to the ECR repo:

docker push <my-image>

Im getting the below error:

denied: User: arn:aws:iam::520423074843:user/<my-username> is not authorized to perform: ecr:InitiateLayerUpload on resource: <ecr-repo>