Example using AWS Cli only, without third-party utilities
aws ecr describe-images \ --region eu-west-1 \ --repository-name artem-services \ --query "sort_by(imageDetails,& imagePushedAt)[ * ].imageTags[ * ]" \ --output text
Example using "jq" utility
aws ecr describe-images \ --region eu-west-1 \ --repository-name artem-services \ | jq '.imageIds | map (.imageTag)|sort|.[]'