Created
June 18, 2018 16:24
-
-
Save siakon89/f93290ff13a85d5c370e5bd506a5ab97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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