From 53099817f383f5c6dc0d8a3bc3af11d2b95dbf65 Mon Sep 17 00:00:00 2001
From: zhaoxiaohao <913652501@qq.com>
Date: Thu, 30 Jul 2020 17:46:28 +0800
Subject: [PATCH] oss 修改为内网

---
 kidgrow-business/kidgrow-logcenter/pom.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/kidgrow-business/kidgrow-logcenter/pom.xml b/kidgrow-business/kidgrow-logcenter/pom.xml
index f634b4c..42451dc 100644
--- a/kidgrow-business/kidgrow-logcenter/pom.xml
+++ b/kidgrow-business/kidgrow-logcenter/pom.xml
@@ -64,6 +64,21 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>com.spotify</groupId>
+                <artifactId>dockerfile-maven-plugin</artifactId>
+                <configuration>
+                    <!-- Dockerfile目录指定 -->
+                    <dockerfile>Dockerfile</dockerfile>
+                    <repository>${docker.repostory}/${docker.image.prefix}/${project.artifactId}</repository>
+                    <!-- 生成镜像标签 如不指定 默认为latest -->
+                    <tag>1.0.1</tag>
+                    <!--<tag>${project.version}</tag>-->
+                    <buildArgs>
+                        <JAR_FILE>./target/${project.build.finalName}.jar</JAR_FILE>
+                    </buildArgs>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>
\ No newline at end of file

--
Gitblit v1.8.0