|
@ -73,18 +73,23 @@ |
|
|
<!-- Docker maven plugin --> |
|
|
<!-- Docker maven plugin --> |
|
|
<plugin> |
|
|
<plugin> |
|
|
<groupId>com.spotify</groupId> |
|
|
<groupId>com.spotify</groupId> |
|
|
<artifactId>docker-maven-plugin</artifactId> |
|
|
|
|
|
<version>1.0.0</version> |
|
|
|
|
|
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId> |
|
|
|
|
|
<version>1.4.6</version> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>default</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>build</goal> |
|
|
|
|
|
<goal>push</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
<configuration> |
|
|
<configuration> |
|
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName> |
|
|
|
|
|
<dockerDirectory>src/main/docker</dockerDirectory> |
|
|
|
|
|
<resources> |
|
|
|
|
|
<resource> |
|
|
|
|
|
<targetPath>/</targetPath> |
|
|
|
|
|
<directory>${project.build.directory}</directory> |
|
|
|
|
|
<include>${project.build.finalName}.jar</include> |
|
|
|
|
|
</resource> |
|
|
|
|
|
</resources> |
|
|
|
|
|
|
|
|
<repository>betaberry/common</repository> |
|
|
|
|
|
<tag>0.0.1</tag> |
|
|
|
|
|
<buildArgs> |
|
|
|
|
|
<JAR_FILE>app.jar</JAR_FILE> |
|
|
|
|
|
</buildArgs> |
|
|
</configuration> |
|
|
</configuration> |
|
|
</plugin> |
|
|
</plugin> |
|
|
<!-- Docker maven plugin --> |
|
|
<!-- Docker maven plugin --> |
|
|