diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a429a2a98..e498f9d10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: - name: Build with Gradle run: ./gradlew build + - name: debug 2 + run: ls build/* + - name: Build and Push Docker Image uses: mr-smithers-excellent/docker-build-push@v4 with: diff --git a/Dockerfile b/Dockerfile index d2b1dc574..cc48b83b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM openjdk:8-jre-alpine EXPOSE 8080 -COPY ./build/libs/my-app-1.0-SNAPSHOT.jar /usr/app/ +COPY ./build/libs/java-app-1.0-SNAPSHOT.jar /usr/app/ WORKDIR /usr/app -ENTRYPOINT ["java", "-jar", "my-app-1.0-SNAPSHOT.jar"] +ENTRYPOINT ["java", "-jar", "java-app-1.0-SNAPSHOT.jar"]