File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <parent >
1515 <artifactId >opensabre-base-dependencies</artifactId >
1616 <groupId >io.github.opensabre</groupId >
17- <version >0.1.1 </version >
17+ <version >0.2.0 </version >
1818 </parent >
1919
2020 <properties >
104104 <plugin >
105105 <groupId >com.google.cloud.tools</groupId >
106106 <artifactId >jib-maven-plugin</artifactId >
107- <dependencies >
108- <!-- 添加所有权扩展 -->
109- <dependency >
110- <groupId >com.google.cloud.tools</groupId >
111- <artifactId >jib-ownership-extension-maven</artifactId >
112- <version >0.1.0</version >
113- </dependency >
114- </dependencies >
115- <configuration >
116- <pluginExtensions >
117- <pluginExtension >
118- <implementation >com.google.cloud.tools.jib.maven.extension.ownership.JibOwnershipExtension</implementation >
119- <configuration implementation =" com.google.cloud.tools.jib.maven.extension.ownership.Configuration" >
120- <rules >
121- <rule >
122- <glob >/app/logs/**</glob >
123- <ownership >1001</ownership >
124- </rule >
125- </rules >
126- </configuration >
127- </pluginExtension >
128- </pluginExtensions >
129- <!-- 基础镜像 -->
130- <from >
131- <image >eclipse-temurin:21-jre-alpine</image >
132- </from >
133- <to >
134- <image >${REGISTRY_URL} /${project.artifactId} :${project.version} </image >
135- <auth >
136- <username >${secret.id} </username >
137- <password >${secret.key} </password >
138- </auth >
139- <tags >
140- <tag >latest</tag >
141- <tag >${project.version} </tag >
142- </tags >
143- </to >
144- <container >
145- <volumes >
146- <volume >/app/logs</volume >
147- </volumes >
148- <!-- 设置环境变量 -->
149- <environment >
150- <!-- 设置时区 -->
151- <TZ >Asia/Shanghai</TZ >
152- </environment >
153- </container >
154- </configuration >
155107 </plugin >
156108 </plugins >
157109 </build >
You can’t perform that action at this time.
0 commit comments