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