Press aws registy

i made registry on aws not digitalocean but i got error when i try to upload the image any one face this issue
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: login attempt to https://884090048411.dkr.ecr.us-west-1.amazonaws.com/v2/ failed with status: 400 Bad Request