Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 8, 2023
1 parent 0be3277 commit ff073e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ do
"order-service")
cd order-service || continue
mvn clean install || continue
sudo su
echo "packaging done, start docker build"
sudo docker build -f Dockerfile --tag us.gcr.io/$PROJECT_ID/orderservice:latest . || continue
echo "docker build done, docker push"
sudo docker push gcr.io/$PROJECT_ID/orderservice:latest || continue
echo "pushed docker image"

esac

Expand Down

0 comments on commit ff073e3

Please sign in to comment.