@@ -732,3 +732,146 @@ jobs:
732732 push : true
733733 continue-on-error : true
734734# ------------------------------------------------------------------------------------#
735+ build-push-docker-debian-guix-aarch64 :
736+ name : Push (debian-guix) --> Docker Hub
737+ # runs-on: ubuntu-latest
738+ runs-on : ubuntu-24.04-arm
739+ needs : [build-push-debian-unstable-base]
740+ steps :
741+ - name : Checkout repository
742+ uses : actions/checkout@v4
743+ with :
744+ path : main
745+ filter : " blob:none"
746+
747+ - name : Debloat Runner
748+ run : |
749+ #Presets
750+ set +x ; set +e
751+ #--------------#
752+ bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Github/Runners/debloat_ubuntu.sh")
753+ continue-on-error : true
754+
755+ - name : Setup Env
756+ run : |
757+ #Presets
758+ set +x ; set +e
759+ #--------------#
760+ #Docker Tags
761+ DOCKER_TAG="v$(date +'%Y.%m.%d')" && export DOCKER_TAG="${DOCKER_TAG}"
762+ echo "DOCKER_TAG=${DOCKER_TAG}" >> "${GITHUB_ENV}"
763+ #Copy dockerfiles
764+ mkdir -p "/tmp/DOCKERFILES" && cd "/tmp/DOCKERFILES"
765+ cp "${GITHUB_WORKSPACE}/main/Github/Runners/debian-guix.dockerfile" "/tmp/DOCKERFILES/debian-guix.dockerfile"
766+ continue-on-error : true
767+
768+ - name : Set up QEMU
769+ uses : docker/setup-qemu-action@v3
770+ continue-on-error : true
771+
772+ - name : Set up Docker Buildx
773+ uses : docker/setup-buildx-action@v3
774+ continue-on-error : true
775+
776+ - name : Login to Docker Hub
777+ uses : docker/login-action@v3
778+ with :
779+ username : " ${{ secrets.DOCKERHUB_USERNAME }}"
780+ password : " ${{ secrets.DOCKERHUB_TOKEN }}"
781+ continue-on-error : true
782+
783+ - name : Login to GHCR
784+ uses : docker/login-action@v3
785+ with :
786+ registry : ghcr.io
787+ username : " ${{ github.actor }}"
788+ password : " ${{ secrets.GITHUB_TOKEN }}"
789+ continue-on-error : true
790+
791+ # https://hub.docker.com/r/pkgforge/debian-guix.dockerfile
792+ - name : Docker Build and Push (debian-guix.dockerfile)
793+ uses : docker/build-push-action@v6
794+ with :
795+ context : /tmp/DOCKERFILES/
796+ file : " /tmp/DOCKERFILES/debian-guix.dockerfile"
797+ # platforms: "linux/amd64,linux/arm64"
798+ platforms : " linux/arm64"
799+ tags : |
800+ pkgforge/debian-guix.dockerfile:aarch64
801+ pkgforge/debian-guix.dockerfile:aarch64-${{ env.DOCKER_TAG }}
802+ ghcr.io/pkgforge/devscripts/debian-guix.dockerfile:aarch64
803+ ghcr.io/pkgforge/devscripts/debian-guix.dockerfile:aarch64-${{ env.DOCKER_TAG }}
804+ push : true
805+ continue-on-error : true
806+ # ------------------------------------------------------------------------------------#
807+ build-push-docker-debian-guix-x86-64 :
808+ name : Push (debian-guix) --> Docker Hub
809+ runs-on : ubuntu-latest
810+ needs : [build-push-debian-unstable-base]
811+ steps :
812+ - name : Checkout repository
813+ uses : actions/checkout@v4
814+ with :
815+ path : main
816+ filter : " blob:none"
817+
818+ - name : Debloat Runner
819+ run : |
820+ #Presets
821+ set +x ; set +e
822+ #--------------#
823+ bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Github/Runners/debloat_ubuntu.sh")
824+ continue-on-error : true
825+
826+ - name : Setup Env
827+ run : |
828+ #Presets
829+ set +x ; set +e
830+ #--------------#
831+ #Docker Tags
832+ DOCKER_TAG="v$(date +'%Y.%m.%d')" && export DOCKER_TAG="${DOCKER_TAG}"
833+ echo "DOCKER_TAG=${DOCKER_TAG}" >> "${GITHUB_ENV}"
834+ #Copy dockerfiles
835+ mkdir -p "/tmp/DOCKERFILES" && cd "/tmp/DOCKERFILES"
836+ cp "${GITHUB_WORKSPACE}/main/Github/Runners/debian-guix.dockerfile" "/tmp/DOCKERFILES/debian-guix.dockerfile"
837+ continue-on-error : true
838+
839+ - name : Set up QEMU
840+ uses : docker/setup-qemu-action@v3
841+ continue-on-error : true
842+
843+ - name : Set up Docker Buildx
844+ uses : docker/setup-buildx-action@v3
845+ continue-on-error : true
846+
847+ - name : Login to Docker Hub
848+ uses : docker/login-action@v3
849+ with :
850+ username : " ${{ secrets.DOCKERHUB_USERNAME }}"
851+ password : " ${{ secrets.DOCKERHUB_TOKEN }}"
852+ continue-on-error : true
853+
854+ - name : Login to GHCR
855+ uses : docker/login-action@v3
856+ with :
857+ registry : ghcr.io
858+ username : " ${{ github.actor }}"
859+ password : " ${{ secrets.GITHUB_TOKEN }}"
860+ continue-on-error : true
861+
862+ # https://hub.docker.com/r/pkgforge/debian-guix
863+ - name : Docker Build and Push (debian-guix)
864+ uses : docker/build-push-action@v6
865+ with :
866+ context : /tmp/DOCKERFILES/
867+ file : " /tmp/DOCKERFILES/debian-guix.dockerfile"
868+ # platforms: "linux/amd64,linux/arm64"
869+ platforms : " linux/amd64"
870+ tags : |
871+ pkgforge/debian-guix:x86_64
872+ pkgforge/debian-guix:x86_64-${{ env.DOCKER_TAG }}
873+ ghcr.io/pkgforge/devscripts/debian-guix:x86_64
874+ ghcr.io/pkgforge/devscripts/debian-guix:x86_64-${{ env.DOCKER_TAG }}
875+ push : true
876+ continue-on-error : true
877+ # ------------------------------------------------------------------------------------#
0 commit comments