@@ -88,6 +88,148 @@ jobs:
8888 ghcr.io/pkgforge/devscripts/alpine-builder:${{ env.DOCKER_TAG }}
8989 push : true
9090 continue-on-error : true
91+ # ------------------------------------------------------------------------------------#
92+ build-push-docker-alpine-mimalloc-edge :
93+ name : Push (Alpine-Mimalloc-edge) --> Docker Hub
94+ runs-on : ubuntu-latest
95+
96+ steps :
97+ - name : Checkout repository
98+ uses : actions/checkout@v4
99+ with :
100+ path : main
101+ filter : " blob:none"
102+
103+ - name : Debloat Runner
104+ run : |
105+ #Presets
106+ set +x ; set +e
107+ #--------------#
108+ bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Github/Runners/debloat_ubuntu.sh")
109+ continue-on-error : true
110+
111+ - name : Setup Env
112+ run : |
113+ #Presets
114+ set +x ; set +e
115+ #--------------#
116+ #Docker Tags
117+ DOCKER_TAG="v$(date +'%Y.%m.%d')" && export DOCKER_TAG="${DOCKER_TAG}"
118+ echo "DOCKER_TAG=${DOCKER_TAG}" >> "${GITHUB_ENV}"
119+ #Copy dockerfiles
120+ mkdir -p "/tmp/DOCKERFILES" && cd "/tmp/DOCKERFILES"
121+ cp "${GITHUB_WORKSPACE}/main/Github/Runners/alpine-builder.dockerfile" "/tmp/DOCKERFILES/alpine-builder.dockerfile"
122+ sed '/^FROM/c\FROM pkgforge/alpine-base-mimalloc:edge' -i "/tmp/DOCKERFILES/alpine-builder.dockerfile"
123+ continue-on-error : true
124+
125+ - name : Set up QEMU
126+ uses : docker/setup-qemu-action@v3
127+ continue-on-error : true
128+
129+ - name : Set up Docker Buildx
130+ uses : docker/setup-buildx-action@v3
131+ continue-on-error : true
132+
133+ - name : Login to Docker Hub
134+ uses : docker/login-action@v3
135+ with :
136+ username : " ${{ secrets.DOCKERHUB_USERNAME }}"
137+ password : " ${{ secrets.DOCKERHUB_TOKEN }}"
138+ continue-on-error : true
139+
140+ - name : Login to GHCR
141+ uses : docker/login-action@v3
142+ with :
143+ registry : ghcr.io
144+ username : " ${{ github.actor }}"
145+ password : " ${{ secrets.GITHUB_TOKEN }}"
146+ continue-on-error : true
147+
148+ # https://hub.docker.com/r/pkgforge/alpine-builder-mimalloc
149+ - name : Docker Build and Push (alpine-builder-mimalloc:edge)
150+ uses : docker/build-push-action@v6
151+ with :
152+ context : /tmp/DOCKERFILES/
153+ file : " /tmp/DOCKERFILES/alpine-builder.dockerfile"
154+ platforms : " linux/amd64,linux/arm64"
155+ tags : |
156+ pkgforge/alpine-builder-mimalloc:edge
157+ pkgforge/alpine-builder-mimalloc:${{ env.DOCKER_TAG }}
158+ ghcr.io/pkgforge/devscripts/alpine-builder-mimalloc:edge
159+ ghcr.io/pkgforge/devscripts/alpine-builder-mimalloc:${{ env.DOCKER_TAG }}
160+ push : true
161+ continue-on-error : true
162+ # ------------------------------------------------------------------------------------#
163+ build-push-docker-alpine-mimalloc-stable :
164+ name : Push (Alpine-Mimalloc-stable) --> Docker Hub
165+ runs-on : ubuntu-latest
166+
167+ steps :
168+ - name : Checkout repository
169+ uses : actions/checkout@v4
170+ with :
171+ path : main
172+ filter : " blob:none"
173+
174+ - name : Debloat Runner
175+ run : |
176+ #Presets
177+ set +x ; set +e
178+ #--------------#
179+ bash <(curl -qfsSL "https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Github/Runners/debloat_ubuntu.sh")
180+ continue-on-error : true
181+
182+ - name : Setup Env
183+ run : |
184+ #Presets
185+ set +x ; set +e
186+ #--------------#
187+ #Docker Tags
188+ DOCKER_TAG="v$(date +'%Y.%m.%d')" && export DOCKER_TAG="${DOCKER_TAG}"
189+ echo "DOCKER_TAG=${DOCKER_TAG}" >> "${GITHUB_ENV}"
190+ #Copy dockerfiles
191+ mkdir -p "/tmp/DOCKERFILES" && cd "/tmp/DOCKERFILES"
192+ cp "${GITHUB_WORKSPACE}/main/Github/Runners/alpine-builder.dockerfile" "/tmp/DOCKERFILES/alpine-builder.dockerfile"
193+ sed '/^FROM/c\FROM pkgforge/alpine-base-mimalloc:stable' -i "/tmp/DOCKERFILES/alpine-builder.dockerfile"
194+ continue-on-error : true
195+
196+ - name : Set up QEMU
197+ uses : docker/setup-qemu-action@v3
198+ continue-on-error : true
199+
200+ - name : Set up Docker Buildx
201+ uses : docker/setup-buildx-action@v3
202+ continue-on-error : true
203+
204+ - name : Login to Docker Hub
205+ uses : docker/login-action@v3
206+ with :
207+ username : " ${{ secrets.DOCKERHUB_USERNAME }}"
208+ password : " ${{ secrets.DOCKERHUB_TOKEN }}"
209+ continue-on-error : true
210+
211+ - name : Login to GHCR
212+ uses : docker/login-action@v3
213+ with :
214+ registry : ghcr.io
215+ username : " ${{ github.actor }}"
216+ password : " ${{ secrets.GITHUB_TOKEN }}"
217+ continue-on-error : true
218+
219+ # https://hub.docker.com/r/pkgforge/alpine-builder-mimalloc
220+ - name : Docker Build and Push (alpine-builder-mimalloc:stable)
221+ uses : docker/build-push-action@v6
222+ with :
223+ context : /tmp/DOCKERFILES/
224+ file : " /tmp/DOCKERFILES/alpine-builder.dockerfile"
225+ platforms : " linux/amd64,linux/arm64"
226+ tags : |
227+ pkgforge/alpine-builder-mimalloc:stable
228+ pkgforge/alpine-builder-mimalloc:${{ env.DOCKER_TAG }}
229+ ghcr.io/pkgforge/devscripts/alpine-builder-mimalloc:stable
230+ ghcr.io/pkgforge/devscripts/alpine-builder-mimalloc:${{ env.DOCKER_TAG }}
231+ push : true
232+ continue-on-error : true
91233# ------------------------------------------------------------------------------------#
92234 build-push-docker-archlinux-builder :
93235 name : Push (ArchLinux-Builder) --> Docker Hub
0 commit comments