From b6b188d6408cd7dea1cba5063f754aad31b9089a Mon Sep 17 00:00:00 2001 From: kundan59 Date: Sun, 10 Sep 2023 13:12:42 +0530 Subject: [PATCH] update deploy script9 --- service-deploy.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/service-deploy.sh b/service-deploy.sh index a5c96e0c..02b5989c 100644 --- a/service-deploy.sh +++ b/service-deploy.sh @@ -17,11 +17,10 @@ do "order-service") cd order-service || continue mvn clean install || continue - gcloud auth configure-docker echo "---------packaging done, start docker build-----------" - sudo docker build --tag gcr.io/$PROJECT_ID/orderservice:1.0.0 . || continue + sudo docker build --tag gcr.io/$PROJECT_ID/orderservice . || continue echo "--------docker build done, docker push---------------" - sudo docker push gcr.io/$PROJECT_ID/orderservice:1.0.0 + sudo docker push gcr.io/$PROJECT_ID/orderservice echo "--------pushed docker image--------------------------" esac