Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Added AWS deployment shell script.
  • Loading branch information
nhkhai authored Apr 30, 2024
1 parent c5c4dd9 commit c65e91e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#! /bin/bash

cd ..

REGISTRY='ap-southeast-1.amazonaws.com'
IMAGE='the-review-room:latest'

docker build -t $REGISTRY/$IMAGE .

aws ecr get-login-password --region ap-southeast-1 | docker login --username AWS --password-stdin $REGISTRY
docker push $REGISTRY/$IMAGE

0 comments on commit c65e91e

Please sign in to comment.