Last active
September 20, 2023 09:04
-
-
Save estenssoros/d354fc64fa15230e502688afcb1ac626 to your computer and use it in GitHub Desktop.
Docker, ECR, Elastic Beanstalk, & Terraform docker-push.sh
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
#!/bin/bash | |
docker build -t $ECR_URL/$ECR_NAME:latest | |
aws ecr get-login-password --region $REGION | docker login --username AWS --password-stdin $ECR_URL | |
docker push $ECR_URL/$ECR_NAME:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment