| | |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- docker --> |
| | | <plugin> |
| | | <groupId>com.spotify</groupId> |
| | | <artifactId>docker-maven-plugin</artifactId> |
| | | <version>${docker.plugin.version}</version> |
| | | <configuration> |
| | | <!-- made of '[a-z0-9-_.]' --> |
| | | <imageName>${docker.namespace}/${project.artifactId}:${project.version}</imageName> |
| | | <dockerDirectory>${project.basedir}</dockerDirectory> |
| | | <dockerHost>${docker.registry.host}</dockerHost> |
| | | <registryUrl>${docker.registry.url}</registryUrl> |
| | | <serverId>${docker.registry.url}</serverId> |
| | | <resources> |
| | | <resource> |
| | | <targetPath>/</targetPath> |
| | | <directory>${project.build.directory}</directory> |
| | | <include>${project.build.finalName}.jar</include> |
| | | </resource> |
| | | </resources> |
| | | </configuration> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | |