Docker push to ECR failing with "no basic auth credentials"

To me the problem was the other way arround. I had to add “https://”, not remove it.