Auto Push Spring Boot App Image on Docker Hub Repository# 9561826040
In this we will see how to create image and push on docker hub automatically. I create simple Hello_World_Docker spring boot application and created one controller in it. package com.example.demo; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class WelcomeController { @RequestMapping("/wish") public String Wish() { return "HELLO GVOIND MANTRI"; } } command : package dockerfile:build command : package dockerfile:push command : clean install ========================================================================================================================================= Pom.xml plugin <plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> <version>1.4.13</version> <executions> <execution> <id>default</id> <goals> ...