diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 82af4a9..91086a6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,11 +24,10 @@ jobs: cache: maven - name: Build with Maven run: mvn clean install - - name: Build & push Docker image uses: mr-smithers-excellent/docker-build-push@v5 with: - image: javatechie/springboot-images-new + image: bin4nithu@gmail.com/springboot-autoimage tags: latest registry: docker.io dockerfile: Dockerfile diff --git a/Dockerfile b/Dockerfile index f7cd959..aa7539c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM openjdk:8 EXPOSE 8080 -ADD target/springboot-images-new.jar springboot-images-new.jar +ADD target/springboot-autoimage.jar springboot-autoimage.jar ENTRYPOINT ["java","-jar","/springboot-images-new.jar"] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7a3c888..155ed23 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ spring-boot-maven-plugin - springboot-images-new + springboot-autoimage