diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a429a2a98..9a65de58b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,8 +31,11 @@ jobs: - name: Build and Push Docker Image uses: mr-smithers-excellent/docker-build-push@v4 with: - image: nanajanashia/demo-app + image: sruthy16/product-catalog registry: docker.io username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + + + diff --git a/Dockerfile b/Dockerfile index d2b1dc574..949325615 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM openjdk:8-jre-alpine +FROM eclipse-temurin:8-jre-alpine EXPOSE 8080 -COPY ./build/libs/my-app-1.0-SNAPSHOT.jar /usr/app/ +COPY ./build/libs/product-catalog-1.0.jar /usr/app/ WORKDIR /usr/app -ENTRYPOINT ["java", "-jar", "my-app-1.0-SNAPSHOT.jar"] +ENTRYPOINT ["java", "-jar", "my-app-1.0-SNAPSHOT.jar] +