Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
schbrain-parent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panwangnan
schbrain-parent
Commits
7a017e4b
Commit
7a017e4b
authored
Jan 06, 2022
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build docker image using buildpack
parent
418dd5a6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
+20
-7
pom.xml
pom.xml
+20
-7
No files found.
pom.xml
View file @
7a017e4b
...
@@ -388,16 +388,25 @@
...
@@ -388,16 +388,25 @@
<execution>
<execution>
<id>
repackage
</id>
<id>
repackage
</id>
<phase>
package
</phase>
<phase>
package
</phase>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
<execution>
<id>
buildInfo
</id>
<phase>
deploy
</phase>
<goals>
<goals>
<goal>
build-info
</goal>
<goal>
build-info
</goal>
<goal>
repackage
</goal>
<goal>
build-image
</goal>
</goals>
</goals>
<configuration>
<imageName>
${docker.repository}/${project.parent.artifactId}:${project.parent.version}
</imageName>
<cleanCache>
true
</cleanCache>
<pullPolicy>
IF_NOT_PRESENT
</pullPolicy>
<publish>
false
</publish>
<docker>
<publishRegistry>
<username>
liwu@1890587021077463
</username>
<!--suppress UnresolvedMavenProperty -->
<password>
<![CDATA[9H7ny!QPW@!L6@n ]]>
</password>
<url>
registry.cn-hangzhou.aliyuncs.com
</url>
</publishRegistry>
</docker>
</configuration>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
...
@@ -411,6 +420,7 @@
...
@@ -411,6 +420,7 @@
<id>
dev
</id>
<id>
dev
</id>
<properties>
<properties>
<spring.profile>
dev
</spring.profile>
<spring.profile>
dev
</spring.profile>
<docker.repository>
registry.cn-hangzhou.aliyuncs.com/schoolbrain
</docker.repository>
</properties>
</properties>
<activation>
<activation>
<activeByDefault>
true
</activeByDefault>
<activeByDefault>
true
</activeByDefault>
...
@@ -421,6 +431,7 @@
...
@@ -421,6 +431,7 @@
<id>
test
</id>
<id>
test
</id>
<properties>
<properties>
<spring.profile>
test
</spring.profile>
<spring.profile>
test
</spring.profile>
<docker.repository>
registry.cn-hangzhou.aliyuncs.com/schoolbrain
</docker.repository>
</properties>
</properties>
</profile>
</profile>
<!-- 预发布环境 -->
<!-- 预发布环境 -->
...
@@ -428,6 +439,7 @@
...
@@ -428,6 +439,7 @@
<id>
pre
</id>
<id>
pre
</id>
<properties>
<properties>
<spring.profile>
pre
</spring.profile>
<spring.profile>
pre
</spring.profile>
<docker.repository>
registry.cn-hangzhou.aliyuncs.com/schoolbrain
</docker.repository>
</properties>
</properties>
</profile>
</profile>
<!-- 生产环境 -->
<!-- 生产环境 -->
...
@@ -435,6 +447,7 @@
...
@@ -435,6 +447,7 @@
<id>
prod
</id>
<id>
prod
</id>
<properties>
<properties>
<spring.profile>
prod
</spring.profile>
<spring.profile>
prod
</spring.profile>
<docker.repository>
registry-vpc.cn-hangzhou.aliyuncs.com/schbrain
</docker.repository>
</properties>
</properties>
</profile>
</profile>
<!-- Java8 -->
<!-- Java8 -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment