Browse Source

加入预发布2.121环境和技术部参考环境的配置

gaodm 5 years atrás
parent
commit
89e642bb65
1 changed files with 2 additions and 1 deletions
  1. 2 1
      common/pom.xml

+ 2 - 1
common/pom.xml

@@ -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>
+        <docker.image.prefix>192.168.2.236:5000/diagbotcloud</docker.image.prefix>
         <registryUrl>http://192.168.2.236:5000/repository/diagbotcloud/</registryUrl>
     </properties>
     <dependencies>
@@ -138,7 +139,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>${docker.image.prefix}/${project.artifactId}:${project.version}</imageName>
                     <pushImage>true</pushImage>
                     <!--<forceTags>true</forceTags>-->
                     <!--镜像的FROM,使用java官方镜像-->