diff --git a/service-deploy.sh b/service-deploy.sh index b1ccba1a..7d1e82b3 100644 --- a/service-deploy.sh +++ b/service-deploy.sh @@ -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 us.gcr.io/"$PROJECT_ID"/orderservice . || continue + sudo docker build -f Dockerfile --tag "us.gcr.io/$PROJECT_ID/orderservice" . || continue echo "--------docker build done, docker push---------------" - sudo docker push us.gcr.io/"$PROJECT_ID"/orderservice + sudo docker push "us.gcr.io/$PROJECT_ID/orderservice" echo "--------pushed docker image--------------------------" esac