Skip to content

Commit

Permalink
fix: update ecr build script
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmundy committed Jun 11, 2019
1 parent b84ed8d commit aa68c1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/ecr_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ ECR_BASE=396527728813.dkr.ecr.us-east-2.amazonaws.com
docker build -t $CONTAINER_NAME:$CONTAINER_VERSION .
docker tag $CONTAINER_NAME:$CONTAINER_VERSION $CONTAINER_NAME:latest

# Tag the Containers
docker tag $CONTAINER_NAME:$CONTAINER_VERSION $ECR_BASE/$CONTAINER_NAME:$CONTAINER_VERSION
docker tag $CONTAINER_NAME:latest $ECR_BASE/$CONTAINER_NAME:latest

# Login to ECR
$(aws ecr get-login --no-include-email --region us-east-2)

Expand Down

0 comments on commit aa68c1a

Please sign in to comment.