From b5a6413c3e33d1a30d2b4c494631d8539b4e6542 Mon Sep 17 00:00:00 2001 From: kundan59 Date: Fri, 8 Sep 2023 23:06:29 +0530 Subject: [PATCH] bump order-service version --- order-service/Dockerfile | 4 ++-- order-service/pom.xml | 2 +- service-deploy.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/order-service/Dockerfile b/order-service/Dockerfile index ad607ffd..a68e9fbe 100644 --- a/order-service/Dockerfile +++ b/order-service/Dockerfile @@ -2,6 +2,6 @@ FROM openjdk:19 WORKDIR /usr/src/app -COPY /target/order-service-1.0.0.jar . +COPY /target/order-service-1.0.1.jar . -CMD ["java","-jar", "./order-service-0.0.1-SNAPSHOT.jar"] \ No newline at end of file +CMD ["java","-jar", "./order-service-1.0.1-SNAPSHOT.jar"] \ No newline at end of file diff --git a/order-service/pom.xml b/order-service/pom.xml index a9861b6d..0cafec32 100644 --- a/order-service/pom.xml +++ b/order-service/pom.xml @@ -10,7 +10,7 @@ com.nashtech.order order-service - 1.0.0 + 1.0.1 order-service order-service project for Spring Boot diff --git a/service-deploy.sh b/service-deploy.sh index 39739081..28b0c491 100644 --- a/service-deploy.sh +++ b/service-deploy.sh @@ -17,8 +17,8 @@ do "order-service") cd order-service || continue mvn clean install || continue - docker build -f Dockerfile --tag us.gcr.io/$PROJECT_ID/orderservice . || continue - docker push gcr.io/$PROJECT_ID/orderservice || continue + docker build -f Dockerfile --tag us.gcr.io/$PROJECT_ID/orderservice:1.0.1 . || continue + docker push gcr.io/$PROJECT_ID/orderservice:1.0.1 || continue esac