Skip to content

Commit

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

esac
Expand Down

0 comments on commit e0d98a1

Please sign in to comment.