Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# log in to ECR and create repository
aws ecr describe-repositories --repository-names $repo_name > /dev/null 2>&1
if [ $? -ne 0 ]
aws ecr create-repository --repository-name $repo_name > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.