@@ -311,27 +311,28 @@ jobs:
311
311
uses : ./.github/workflows/docker-tag-push.yml
312
312
with :
313
313
platform : aarch64
314
- image : ${{ matrix.image-variant.image }}
315
- variant : ${{ matrix.image-variant. variant }}
314
+ image : ${{ matrix.image }}
315
+ variant : ${{ matrix.variant }}
316
316
secrets :
317
317
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
318
318
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
319
319
strategy :
320
320
matrix :
321
- image-variant :
321
+ image :
322
322
[
323
- { image: docker-stacks-foundation, variant: default } ,
324
- { image: base-notebook, variant: default } ,
325
- { image: minimal-notebook, variant: default } ,
326
- { image: scipy-notebook, variant: default } ,
327
- { image: r-notebook, variant: default } ,
328
- { image: julia-notebook, variant: default } ,
329
- { image: tensorflow-notebook, variant: default } ,
330
- { image: pytorch-notebook, variant: default } ,
331
- { image: datascience-notebook, variant: default } ,
332
- { image: pyspark-notebook, variant: default } ,
333
- { image: all-spark-notebook, variant: default } ,
323
+ docker-stacks-foundation,
324
+ base-notebook,
325
+ minimal-notebook,
326
+ scipy-notebook,
327
+ r-notebook,
328
+ julia-notebook,
329
+ tensorflow-notebook,
330
+ pytorch-notebook,
331
+ datascience-notebook,
332
+ pyspark-notebook,
333
+ all-spark-notebook,
334
334
]
335
+ variant : [default]
335
336
needs :
336
337
[
337
338
aarch64-foundation,
@@ -352,49 +353,51 @@ jobs:
352
353
uses : ./.github/workflows/docker-tag-push.yml
353
354
with :
354
355
platform : aarch64
355
- image : ${{ matrix.image-variant.image }}
356
- variant : ${{ matrix.image-variant. variant }}
356
+ image : ${{ matrix.image }}
357
+ variant : ${{ matrix.variant }}
357
358
secrets :
358
359
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
359
360
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
360
361
strategy :
361
362
matrix :
362
- image-variant :
363
- [
364
- { image: docker-stacks-foundation, variant: default },
365
- { image: base-notebook, variant: default },
366
- ]
363
+ image : [docker-stacks-foundation, base-notebook]
364
+ variant : [default]
367
365
needs : [aarch64-foundation, aarch64-base]
368
366
if : contains(github.event.pull_request.title, '[FAST_BUILD]')
369
367
370
368
x86_64-images-tag-push :
371
369
uses : ./.github/workflows/docker-tag-push.yml
372
370
with :
373
371
platform : x86_64
374
- image : ${{ matrix.image-variant.image }}
375
- variant : ${{ matrix.image-variant. variant }}
372
+ image : ${{ matrix.image }}
373
+ variant : ${{ matrix.variant }}
376
374
secrets :
377
375
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
378
376
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
379
377
strategy :
380
378
matrix :
381
- image-variant :
379
+ image :
382
380
[
383
- { image: docker-stacks-foundation, variant: default },
384
- { image: base-notebook, variant: default },
385
- { image: minimal-notebook, variant: default },
386
- { image: scipy-notebook, variant: default },
387
- { image: r-notebook, variant: default },
388
- { image: julia-notebook, variant: default },
389
- { image: tensorflow-notebook, variant: default },
390
- { image: tensorflow-notebook, variant: cuda },
391
- { image: pytorch-notebook, variant: default },
392
- { image: pytorch-notebook, variant: cuda11 },
393
- { image: pytorch-notebook, variant: cuda12 },
394
- { image: datascience-notebook, variant: default },
395
- { image: pyspark-notebook, variant: default },
396
- { image: all-spark-notebook, variant: default },
381
+ docker-stacks-foundation,
382
+ base-notebook,
383
+ minimal-notebook,
384
+ scipy-notebook,
385
+ r-notebook,
386
+ julia-notebook,
387
+ tensorflow-notebook,
388
+ pytorch-notebook,
389
+ datascience-notebook,
390
+ pyspark-notebook,
391
+ all-spark-notebook,
397
392
]
393
+ variant : [default]
394
+ include :
395
+ - image : tensorflow-notebook
396
+ variant : cuda
397
+ - image : pytorch-notebook
398
+ variant : cuda11
399
+ - image : pytorch-notebook
400
+ variant : cuda12
398
401
needs :
399
402
[
400
403
x86_64-foundation,
@@ -415,66 +418,65 @@ jobs:
415
418
uses : ./.github/workflows/docker-tag-push.yml
416
419
with :
417
420
platform : x86_64
418
- image : ${{ matrix.image-variant.image }}
419
- variant : ${{ matrix.image-variant. variant }}
421
+ image : ${{ matrix.image }}
422
+ variant : ${{ matrix.variant }}
420
423
secrets :
421
424
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
422
425
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
423
426
strategy :
424
427
matrix :
425
- image-variant :
426
- [
427
- { image: docker-stacks-foundation, variant: default },
428
- { image: base-notebook, variant: default },
429
- ]
428
+ image : [docker-stacks-foundation, base-notebook]
429
+ variant : [default]
430
430
needs : [x86_64-foundation, x86_64-base]
431
431
if : contains(github.event.pull_request.title, '[FAST_BUILD]')
432
432
433
433
merge-tags :
434
434
uses : ./.github/workflows/docker-merge-tags.yml
435
435
with :
436
- image : ${{ matrix.image-variant.image }}
437
- variant : ${{ matrix.image-variant. variant }}
436
+ image : ${{ matrix.image }}
437
+ variant : ${{ matrix.variant }}
438
438
secrets :
439
439
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
440
440
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
441
441
strategy :
442
442
matrix :
443
- image-variant :
443
+ image :
444
444
[
445
- { image: docker-stacks-foundation, variant: default },
446
- { image: base-notebook, variant: default },
447
- { image: minimal-notebook, variant: default },
448
- { image: scipy-notebook, variant: default },
449
- { image: r-notebook, variant: default },
450
- { image: julia-notebook, variant: default },
451
- { image: tensorflow-notebook, variant: default },
452
- { image: tensorflow-notebook, variant: cuda },
453
- { image: pytorch-notebook, variant: default },
454
- { image: pytorch-notebook, variant: cuda11 },
455
- { image: pytorch-notebook, variant: cuda12 },
456
- { image: datascience-notebook, variant: default },
457
- { image: pyspark-notebook, variant: default },
458
- { image: all-spark-notebook, variant: default },
445
+ docker-stacks-foundation,
446
+ base-notebook,
447
+ minimal-notebook,
448
+ scipy-notebook,
449
+ r-notebook,
450
+ julia-notebook,
451
+ tensorflow-notebook,
452
+ pytorch-notebook,
453
+ datascience-notebook,
454
+ pyspark-notebook,
455
+ all-spark-notebook,
459
456
]
457
+ variant : [default]
458
+ include :
459
+ - image : tensorflow-notebook
460
+ variant : cuda
461
+ - image : pytorch-notebook
462
+ variant : cuda11
463
+ - image : pytorch-notebook
464
+ variant : cuda12
460
465
needs : [aarch64-images-tag-push, x86_64-images-tag-push]
461
466
if : (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && !contains(github.event.pull_request.title, '[FAST_BUILD]')
462
467
463
468
merge-tags-fast :
464
469
uses : ./.github/workflows/docker-merge-tags.yml
465
470
with :
466
- image : ${{ matrix.image-variant.image }}
467
- variant : ${{ matrix.image-variant. variant }}
471
+ image : ${{ matrix.image }}
472
+ variant : ${{ matrix.variant }}
468
473
secrets :
469
474
REGISTRY_USERNAME : ${{ secrets.QUAY_USERNAME }}
470
475
REGISTRY_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
471
476
strategy :
472
477
matrix :
473
- image-variant :
474
- [
475
- { image: docker-stacks-foundation, variant: default },
476
- { image: base-notebook, variant: default },
477
- ]
478
+ image : [docker-stacks-foundation, base-notebook]
479
+ variant : [default]
478
480
needs : [aarch64-images-tag-push-fast, x86_64-images-tag-push-fast]
479
481
if : (github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru') && contains(github.event.pull_request.title, '[FAST_BUILD]')
480
482
0 commit comments