Created
October 14, 2021 16:29
-
-
Save DanielDaCosta/5810a8edb11268584ac2b6f4be69252c 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
$ docker build -t $DOCKER_REGISTRY/$APP_NAME:latest container/ | |
$ aws ecr describe-repositories --repository-names $APP_NAME || aws ecr create-repository --repository-name $APP_NAME | |
$ aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin $DOCKER_REGISTRY | |
$ docker push $DOCKER_REGISTRY/$APP_NAME:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment