|
|
|
@ -67,6 +67,26 @@
|
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
|
<plugins> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>com.spotify</groupId> |
|
|
|
|
<artifactId>docker-maven-plugin</artifactId> |
|
|
|
|
<version>${docker.plugin.version}</version> |
|
|
|
|
<configuration> |
|
|
|
|
<imageName>${docker.registry.url}/blade/${project.artifactId}:${project.version}</imageName> |
|
|
|
|
<dockerDirectory>${project.basedir}</dockerDirectory> |
|
|
|
|
<dockerHost>${docker.registry.host}</dockerHost> |
|
|
|
|
<resources> |
|
|
|
|
<resource> |
|
|
|
|
<targetPath>/</targetPath> |
|
|
|
|
<directory>${project.build.directory}</directory> |
|
|
|
|
<include>${project.build.finalName}.jar</include> |
|
|
|
|
</resource> |
|
|
|
|
</resources> |
|
|
|
|
<registryUrl>${docker.registry.url}</registryUrl> |
|
|
|
|
<serverId>${docker.registry.url}</serverId> |
|
|
|
|
<pushImage>true</pushImage> |
|
|
|
|
</configuration> |
|
|
|
|
</plugin> |
|
|
|
|
<plugin> |
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId> |
|
|
|
|