jib-maven-plugin's default example runs the build goal during the package phase.
The build goal will push the docker image to the remote registry, which may be too frequent to run in the package phase for some projects.
This template instead configures the jib-maven-plugin to run the following goals in the following phases:
| Phase | Goal | Goal Description |
|---|---|---|
| package | buildTar | Build docker image as tar file |
| install | dockerBuild | Build docker image and install in Docker daemon |