Skip to content

Instantly share code, notes, and snippets.

@pandeybk
Created September 12, 2017 23:08
Show Gist options
  • Save pandeybk/938c43edce691382f816e089437dafae to your computer and use it in GitHub Desktop.
Save pandeybk/938c43edce691382f816e089437dafae to your computer and use it in GitHub Desktop.
Get list of all images (oneliner) from AWS ecr
aws ecr describe-repositories --region=us-east-1 | jq -r '.[] | .[] | .repositoryName' | while read line; do aws ecr list-images --repository-name=$line --region=us-east-1; echo "------------"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment