diff --git a/service-deploy.sh b/service-deploy.sh index c52f1f35..7f958759 100644 --- a/service-deploy.sh +++ b/service-deploy.sh @@ -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