Relative Content

Tag Archive for maven-pluginjibmaven-jib

Create jib container image in compile phase, and pushing the same image in the deploy phase

I am building a container image using maven Jib plugin, and it is building fine. I can push it to repository as well. But I am having an issue in figuring iut how to build the image on compile phase, then pushing it to repo on deploy phase, without having to build it again.
Do I need to rewrite the plugin configs two time and jib will have the image cached, so it wont build it again? Or is there some documentation I am missing from github.