|
@@ -18,6 +18,7 @@
|
|
|
<java.version>1.8</java.version>
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
+ <registryUrl>http://192.168.2.236:5000/repository/diagbotcloud/</registryUrl>
|
|
|
</properties>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
@@ -137,7 +138,7 @@
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
<version>1.1.1</version>
|
|
|
<configuration>
|
|
|
- <imageName>192.168.2.236:5000/diagbotcloud/${project.artifactId}:${project.version}</imageName>
|
|
|
+ <imageName>lantone/${project.artifactId}:${project.version}</imageName>
|
|
|
<pushImage>true</pushImage>
|
|
|
<!--<forceTags>true</forceTags>-->
|
|
|
<!--镜像的FROM,使用java官方镜像-->
|
|
@@ -151,7 +152,7 @@
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<serverId>docker-registry</serverId>
|
|
|
- <registryUrl>http://192.168.2.236:5000/repository/diagbotcloud/</registryUrl>
|
|
|
+ <registryUrl>${registryUrl}</registryUrl>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|