From 3e9d7695c09b0033a238d84af1a97d582559aac3 Mon Sep 17 00:00:00 2001 From: kundan59 Date: Sun, 10 Sep 2023 13:16:26 +0530 Subject: [PATCH] update deploy script10 --- service-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service-deploy.sh b/service-deploy.sh index 02b5989c..25dc3cab 100644 --- a/service-deploy.sh +++ b/service-deploy.sh @@ -18,9 +18,9 @@ do cd order-service || continue mvn clean install || continue echo "---------packaging done, start docker build-----------" - sudo docker build --tag 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 gcr.io/$PROJECT_ID/orderservice + sudo docker push us.gcr.io/$PROJECT_ID/orderservice echo "--------pushed docker image--------------------------" esac