This commit is contained in:
12
pom.xml
12
pom.xml
@@ -170,7 +170,7 @@
|
||||
<version>3.3.1</version>
|
||||
<configuration>
|
||||
<from>
|
||||
<image>registry.docker-cn.com/openjdk:17-jdk-slim</image>
|
||||
<image>openjdk:17-jdk-slim</image>
|
||||
</from>
|
||||
<to>
|
||||
<image>light-delivery-app</image>
|
||||
@@ -191,6 +191,16 @@
|
||||
<!-- 添加主类配置 -->
|
||||
<mainClass>com.light.delivery.LightApplication</mainClass>
|
||||
</container>
|
||||
<!-- 为云端CI/CD环境配置 -->
|
||||
<allowInsecureRegistries>false</allowInsecureRegistries>
|
||||
<sendCredentialsOverHttp>false</sendCredentialsOverHttp>
|
||||
<!-- CI/CD环境优化配置 -->
|
||||
<httpTimeout>60000</httpTimeout>
|
||||
<retries>3</retries>
|
||||
<!-- 镜像标签配置 -->
|
||||
<outputPaths>
|
||||
<tar>${project.build.directory}/jib-image.tar</tar>
|
||||
</outputPaths>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
Reference in New Issue
Block a user