@@ -435,33 +435,57 @@ jobs:
435
435
username : aminya
436
436
password : ${{ secrets.DOCKERHUB_TOKEN }}
437
437
438
- - name : Enable experimental features
439
- run : |
440
- mkdir -p ~/.docker
441
- echo '{"experimental": "enabled"}' > ~/.docker/config.json
438
+ -
uses :
Noelware/[email protected]
439
+ with :
440
+ inputs : aminya/setup-cpp-ubuntu:22.04-1.1.1
441
+ images : aminya/setup-cpp-ubuntu:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu:22.04-1.1.1-arm64
442
+ push : true
443
+ amend : true
444
+ -
uses :
Noelware/[email protected]
445
+ with :
446
+ inputs : aminya/setup-cpp-ubuntu:latest
447
+ images : aminya/setup-cpp-ubuntu:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu:22.04-1.1.1-arm64
448
+ push : true
449
+ amend : true
442
450
443
- - name : Create and push multi-arch manifests
444
- run : |
445
- TAG="22.04-1.1.1"
446
- DISTRO="ubuntu"
447
-
448
- # Create and push manifests for each variant
449
- VARIANTS=("" "-llvm" "-gcc" "-mingw")
450
- for VARIANT in "${VARIANTS[@]}"; do
451
- echo "Creating manifest for setup-cpp-$DISTRO$VARIANT"
452
-
453
- # Create versioned manifest
454
- docker manifest create "aminya/setup-cpp-$DISTRO$VARIANT:$TAG" \
455
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-amd64" \
456
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-arm64"
457
- docker manifest push "aminya/setup-cpp-$DISTRO$VARIANT:$TAG"
458
-
459
- # Create latest manifest
460
- docker manifest create "aminya/setup-cpp-$DISTRO$VARIANT:latest" \
461
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-amd64" \
462
- "aminya/setup-cpp-$DISTRO$VARIANT:$TAG-arm64"
463
- docker manifest push "aminya/setup-cpp-$DISTRO$VARIANT:latest"
464
- done
451
+ -
uses :
Noelware/[email protected]
452
+ with :
453
+ inputs : aminya/setup-cpp-ubuntu-llvm:22.04-1.1.1
454
+ images : aminya/setup-cpp-ubuntu-llvm:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-llvm:22.04-1.1.1-arm64
455
+ push : true
456
+ amend : true
457
+ -
uses :
Noelware/[email protected]
458
+ with :
459
+ inputs : aminya/setup-cpp-ubuntu-llvm:latest
460
+ images : aminya/setup-cpp-ubuntu-llvm:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-llvm:22.04-1.1.1-arm64
461
+ push : true
462
+ amend : true
463
+
464
+ -
uses :
Noelware/[email protected]
465
+ with :
466
+ inputs : aminya/setup-cpp-ubuntu-gcc:22.04-1.1.1
467
+ images : aminya/setup-cpp-ubuntu-gcc:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-gcc:22.04-1.1.1-arm64
468
+ push : true
469
+ amend : true
470
+ -
uses :
Noelware/[email protected]
471
+ with :
472
+ inputs : aminya/setup-cpp-ubuntu-gcc:latest
473
+ images : aminya/setup-cpp-ubuntu-gcc:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-gcc:22.04-1.1.1-arm64
474
+ push : true
475
+ amend : true
476
+
477
+ -
uses :
Noelware/[email protected]
478
+ with :
479
+ inputs : aminya/setup-cpp-ubuntu-mingw:22.04-1.1.1
480
+ images : aminya/setup-cpp-ubuntu-mingw:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-mingw:22.04-1.1.1-arm64
481
+ push : true
482
+ amend : true
483
+ -
uses :
Noelware/[email protected]
484
+ with :
485
+ inputs : aminya/setup-cpp-ubuntu-mingw:latest
486
+ images : aminya/setup-cpp-ubuntu-mingw:22.04-1.1.1-amd64,aminya/setup-cpp-ubuntu-mingw:22.04-1.1.1-arm64
487
+ push : true
488
+ amend : true
465
489
466
490
Release :
467
491
if : startsWith(github.ref, 'refs/tags/')
0 commit comments