This commit is contained in:
7
pom.xml
7
pom.xml
@@ -171,6 +171,9 @@
|
||||
<configuration>
|
||||
<from>
|
||||
<image>openjdk:17-jdk-slim</image>
|
||||
<insecureRegistries>
|
||||
<insecureRegistry>localhost:5000</insecureRegistry>
|
||||
</insecureRegistries>
|
||||
</from>
|
||||
<to>
|
||||
<image>light-delivery-app</image>
|
||||
@@ -197,10 +200,14 @@
|
||||
<!-- CI/CD环境优化配置 -->
|
||||
<httpTimeout>60000</httpTimeout>
|
||||
<retries>3</retries>
|
||||
<!-- 使用本地已有的基础镜像 -->
|
||||
<pullParentImage>false</pullParentImage>
|
||||
<!-- 镜像标签配置 -->
|
||||
<outputPaths>
|
||||
<tar>${project.build.directory}/jib-image.tar</tar>
|
||||
</outputPaths>
|
||||
<!-- 优化CI/CD构建 -->
|
||||
<containerizingMode>packaged</containerizingMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
Reference in New Issue
Block a user