Skip to content

Commit

Permalink
update deploy script7
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 9, 2023
1 parent 8924071 commit 815790c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ do
"order-service")
cd order-service || continue
mvn clean install || continue
gcloud --quiet auth configure-docker
gcloud auth configure-docker
echo "---------packaging done, start docker build-----------"
sudo docker build --tag us.gcr.io/$PROJECT_ID/orderservice:1.0.0 . || continue
sudo docker build --tag gcr.io/$PROJECT_ID/orderservice:1.0.0 . || continue
echo "--------docker build done, docker push---------------"
sudo docker push us.gcr.io/$PROJECT_ID/orderservice:1.0.0
sudo docker push gcr.io/$PROJECT_ID/orderservice:1.0.0
echo "--------pushed docker image--------------------------"

esac
Expand Down

0 comments on commit 815790c

Please sign in to comment.