File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 268
268
<plugin >
269
269
<groupId >io.fabric8</groupId >
270
270
<artifactId >docker-maven-plugin</artifactId >
271
- <version >0.40.3 </version >
271
+ <version >0.45.1 </version >
272
272
<configuration >
273
273
<verbose >true</verbose >
274
274
<images >
275
275
<image >
276
276
<name >evolvedbinary/elemental:%v</name >
277
277
<alias >elemental</alias >
278
+ <registry >docker.io</registry >
278
279
<build >
279
280
<tags >
280
281
<tag >${docker.tag} </tag >
281
282
</tags >
282
283
<dockerFile >${project.build.outputDirectory} /Dockerfile</dockerFile >
283
284
<contextDir >${assemble.dir} </contextDir >
285
+ <buildx >
286
+ <platforms >
287
+ <platform >linux/amd64</platform >
288
+ <platform >linux/arm64</platform >
289
+ <!-- <platform>linux/ppc64le</platform>-->
290
+ </platforms >
291
+ </buildx >
284
292
</build >
285
293
</image >
286
294
<image >
287
295
<name >evolvedbinary/elemental:%v-DEBUG</name >
288
296
<alias >elemental-debug</alias >
297
+ <registry >docker.io</registry >
289
298
<build >
290
299
<tags >
291
300
<tag >${docker.debug.tag} </tag >
292
301
</tags >
293
302
<dockerFile >${project.build.outputDirectory} /Dockerfile-DEBUG</dockerFile >
294
303
<contextDir >${assemble.dir} </contextDir >
304
+ <buildx >
305
+ <platforms >
306
+ <platform >linux/amd64</platform >
307
+ <platform >linux/arm64</platform >
308
+ <!-- <platform>linux/ppc64le</platform>-->
309
+ </platforms >
310
+ </buildx >
295
311
</build >
296
312
</image >
297
313
</images >
298
314
</configuration >
299
315
<executions >
300
316
<execution >
301
- <id >build image</id >
317
+ <id >build- image</id >
302
318
<phase >package</phase >
303
319
<goals >
304
320
<goal >build</goal >
305
321
</goals >
306
322
</execution >
307
323
<execution >
308
- <id >push image to registry </id >
324
+ <id >push- image</id >
309
325
<phase >deploy</phase >
310
326
<goals >
311
327
<goal >push</goal >
You can’t perform that action at this time.
0 commit comments