Enviar, buscar, e gerenciar imagens de container. Mais informações: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/index.html.
aws ecr get-login-password --region {{region}} | {{docker login}} --username AWS --password-stdin {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com
aws ecr create-repository --repository-name {{repository}} --image-scanning-configuration scanOnPush={{true|false}} --region {{region}}
docker tag {{nome_do_container}}:{{tag}} {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}
docker push {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}
docker pull {{aws_account_id}}.dkr.ecr.{{region}}.amazonaws.com/{{nome_do_container}}:{{tag}}
aws ecr batch-delete-image --repository-name {{repositório}} --image-ids imageTag={{latest}}
aws ecr delete-repository --repository-name {{repositório}} --force
aws ecr list-images --repository-name {{repositório}}