Commit 3c22e7d3 authored by liaozan's avatar liaozan 🏀

add plugins

parent a621abb8
......@@ -468,12 +468,12 @@
</goals>
<configuration>
<dockerfile>${project.build.directory}/dockerfile/Dockerfile</dockerfile>
<repository>registry.cn-hangzhou.aliyuncs.com/schbrain-dev/${project.parent.artifactId}</repository>
<repository>${docker.repository}/${project.parent.artifactId}</repository>
<writeTestMetadata>false</writeTestMetadata>
<skipDockerInfo>true</skipDockerInfo>
<tag>${project.version}</tag>
<buildArgs>
<APP_NAME>${project.parent.artifactId}</APP_NAME>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
<pullNewerImage>false</pullNewerImage>
<noCache>false</noCache>
</configuration>
</execution>
<execution>
......@@ -495,30 +495,18 @@
<id>dev</id>
<properties>
<spring.profile>dev</spring.profile>
<docker.repository>registry.cn-hangzhou.aliyuncs.com/schbrain-dev</docker.repository>
</properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!-- 测试环境 -->
<profile>
<id>test</id>
<properties>
<spring.profile>test</spring.profile>
</properties>
</profile>
<!-- 预发布环境 -->
<profile>
<id>pre</id>
<properties>
<spring.profile>pre</spring.profile>
</properties>
</profile>
<!-- 生产环境 -->
<profile>
<id>prod</id>
<properties>
<spring.profile>prod</spring.profile>
<docker.repository>registry-vpc.cn-hangzhou.aliyuncs.com/schbrain</docker.repository>
</properties>
</profile>
<!-- Java8 -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment