Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# log in to ECR and create repository
%%sh
aws ecr describe-repositories --repository-names $repo_name > /dev/null 2>&1
if [ $? -ne 0 ]
then
aws ecr create-repository --repository-name $repo_name > /dev/null
fi
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.