Skip to content

Commit

Permalink
bump order-service version
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 8, 2023
1 parent 1efaad1 commit b5a6413
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions order-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["java","-jar", "./order-service-1.0.1-SNAPSHOT.jar"]
2 changes: 1 addition & 1 deletion order-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.nashtech.order</groupId>
<artifactId>order-service</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<name>order-service</name>
<description>order-service project for Spring Boot</description>

Expand Down
4 changes: 2 additions & 2 deletions service-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b5a6413

Please sign in to comment.