@@ -174,6 +174,7 @@ jobs:
174
174
175
175
myself :
176
176
runs-on : ubuntu-latest
177
+ needs : [xen, qemu]
177
178
steps :
178
179
- name : Get changed files
179
180
if : ${{ github.event_name == 'pull_request' }}
@@ -228,6 +229,25 @@ jobs:
228
229
username : ${{ secrets.REG_USERNAME }}
229
230
password : ${{ secrets.REG_TOKEN }}
230
231
232
+ - name : Download 'kraftkit.sh/qemu' artifacts
233
+ if : ${{ steps.check-run.outputs.run == 'true' }}
234
+ uses : actions/download-artifact@v4
235
+ with :
236
+ name : qemu-oci-image
237
+ path : /tmp
238
+
239
+ - name : Download 'kraftkit.sh/xen' artifacts
240
+ if : ${{ steps.check-run.outputs.run == 'true' }}
241
+ uses : actions/download-artifact@v4
242
+ with :
243
+ name : xen-oci-image
244
+ path : /tmp
245
+
246
+ - name : Load Docker image
247
+ if : ${{ steps.check-run.outputs.run == 'true' }}
248
+ run : |
249
+ for I in /tmp/*.tar; do docker load --input "${I}"; done
250
+
231
251
- name : Build OCI image
232
252
if : ${{ steps.check-run.outputs.run == 'true' }}
233
253
uses : docker/build-push-action@v6
@@ -313,20 +333,27 @@ jobs:
313
333
username : ${{ secrets.REG_USERNAME }}
314
334
password : ${{ secrets.REG_TOKEN }}
315
335
316
- - name : Download artifacts
336
+ - name : Download 'kraftkit.sh/myself' artifacts
317
337
if : ${{ steps.check-run.outputs.run == 'true' }}
318
338
uses : actions/download-artifact@v4
319
339
with :
320
340
name : myself-oci-image
321
341
path : /tmp
322
342
323
- - name : Download artifacts
343
+ - name : Download 'kraftkit.sh/qemu' artifacts
324
344
if : ${{ steps.check-run.outputs.run == 'true' }}
325
345
uses : actions/download-artifact@v4
326
346
with :
327
347
name : qemu-oci-image
328
348
path : /tmp
329
349
350
+ - name : Download 'kraftkit.sh/xen' artifacts
351
+ if : ${{ steps.check-run.outputs.run == 'true' }}
352
+ uses : actions/download-artifact@v4
353
+ with :
354
+ name : xen-oci-image
355
+ path : /tmp
356
+
330
357
- name : Load Docker image
331
358
if : ${{ steps.check-run.outputs.run == 'true' }}
332
359
run : |
@@ -404,21 +431,21 @@ jobs:
404
431
username : ${{ secrets.REG_USERNAME }}
405
432
password : ${{ secrets.REG_TOKEN }}
406
433
407
- - name : Download artifacts
434
+ - name : Download 'kraftkit.sh/myself' artifacts
408
435
if : ${{ steps.check-run.outputs.run == 'true' }}
409
436
uses : actions/download-artifact@v4
410
437
with :
411
438
name : myself-oci-image
412
439
path : /tmp
413
440
414
- - name : Download artifacts
441
+ - name : Download 'kraftkit.sh/qemu' artifacts
415
442
if : ${{ steps.check-run.outputs.run == 'true' }}
416
443
uses : actions/download-artifact@v4
417
444
with :
418
445
name : qemu-oci-image
419
446
path : /tmp
420
447
421
- - name : Download artifacts
448
+ - name : Download 'kraftkit.sh/xen' artifacts
422
449
if : ${{ steps.check-run.outputs.run == 'true' }}
423
450
uses : actions/download-artifact@v4
424
451
with :
@@ -512,15 +539,14 @@ jobs:
512
539
with :
513
540
driver : docker
514
541
515
-
516
- - name : Download artifacts
542
+ - name : Download 'kraftkit.sh/myself' artifacts
517
543
if : ${{ steps.check-run.outputs.run == 'true' }}
518
544
uses : actions/download-artifact@v4
519
545
with :
520
546
name : myself-oci-image
521
547
path : /tmp
522
548
523
- - name : Download artifacts
549
+ - name : Download 'kraftkit.sh/qemu' artifacts
524
550
if : ${{ steps.check-run.outputs.run == 'true' }}
525
551
uses : actions/download-artifact@v4
526
552
with :
0 commit comments