remove armv6/v7 from docker for the moment

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Oct 31, 2025 at 20:15 UTC 0a9d718b1d8b7a6d351c2323b91c2d8b2807cc87
1 file changed -140
.github/workflows/docker.yml
-140
@@ -154,132 +154,12 @@ jobs:
154 --push \
155 .
156
157 - build-armv7:
158 - runs-on: ubuntu-22.04
159 - needs: translate
160 - strategy:
161 - fail-fast: false
162 - max-parallel: 3
163 - matrix:
164 - variant: [mongodb, postgresql, mariadb, all, slim]
165 - name: Build Docker Image (armv7-${{ matrix.variant }})
166 - steps:
167 - - name: Download repo artifact
168 - uses: actions/download-artifact@v5
169 - with:
170 - name: repo-with-translations
171 - - name: Set up QEMU
172 - uses: docker/setup-qemu-action@v3
173 - with:
174 - cache-image: false
175 - platforms: arm
176 - - name: Set up Docker Buildx
177 - uses: docker/setup-buildx-action@v3
178 - with:
179 - cache-binary: false
180 -
181 - - name: Log in to GitHub Container Registry
182 - uses: docker/login-action@v3
183 - with:
184 - registry: ghcr.io
185 - username: ${{ github.repository_owner }}
186 - password: ${{ secrets.MY_TOKEN || secrets.GITHUB_TOKEN }}
187 - - name: Build and push Docker image (armv7-${{ matrix.variant }})
188 - run: |
189 - REPO_OWNER_LC="$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')"
190 - case "${{ matrix.variant }}" in
191 - mongodb)
192 - MONGODB=YES; POSTGRESQL=NO; MARIADB=NO; TAG="-armv7-mongodb";;
193 - postgresql)
194 - MONGODB=NO; POSTGRESQL=YES; MARIADB=NO; TAG="-armv7-postgresql";;
195 - mariadb)
196 - MONGODB=NO; POSTGRESQL=NO; MARIADB=YES; TAG="-armv7-mariadb";;
197 - all)
198 - MONGODB=YES; POSTGRESQL=YES; MARIADB=YES; TAG="-armv7";;
199 - slim)
200 - MONGODB=NO; POSTGRESQL=NO; MARIADB=NO; TAG="-armv7-slim";;
201 - esac
202 - docker buildx build \
203 - --platform linux/arm/v7 \
204 - --build-arg INCLUDE_MONGODB_TOOLS=$MONGODB \
205 - --build-arg INCLUDE_POSTGRESQL_TOOLS=$POSTGRESQL \
206 - --build-arg INCLUDE_MARIADB_TOOLS=$MARIADB \
207 - --build-arg DISABLE_MINIFY=yes \
208 - --build-arg DISABLE_TRANSLATE=yes \
209 - --build-arg DISABLE_EXTRACT=yes \
210 - --build-arg PREINSTALL_LIBS=true \
211 - -f docker/Dockerfile \
212 - -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}$TAG \
213 - --push \
214 - .
215 -
216 - build-armv6:
217 - runs-on: ubuntu-22.04
218 - needs: translate
219 - strategy:
220 - fail-fast: false
221 - max-parallel: 3
222 - matrix:
223 - variant: [mongodb, postgresql, mariadb, all, slim]
224 - name: Build Docker Image (armv6-${{ matrix.variant }})
225 - steps:
226 - - name: Download repo artifact
227 - uses: actions/download-artifact@v5
228 - with:
229 - name: repo-with-translations
230 - - name: Set up QEMU
231 - uses: docker/setup-qemu-action@v3
232 - with:
233 - cache-image: false
234 - platforms: arm
235 - - name: Set up Docker Buildx
236 - uses: docker/setup-buildx-action@v3
237 - with:
238 - cache-binary: false
239 -
240 - - name: Log in to GitHub Container Registry
241 - uses: docker/login-action@v3
242 - with:
243 - registry: ghcr.io
244 - username: ${{ github.repository_owner }}
245 - password: ${{ secrets.MY_TOKEN || secrets.GITHUB_TOKEN }}
246 - - name: Build and push Docker image (armv6-${{ matrix.variant }})
247 - run: |
248 - REPO_OWNER_LC="$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')"
249 - case "${{ matrix.variant }}" in
250 - mongodb)
251 - MONGODB=YES; POSTGRESQL=NO; MARIADB=NO; TAG="-armv6-mongodb";;
252 - postgresql)
253 - MONGODB=NO; POSTGRESQL=YES; MARIADB=NO; TAG="-armv6-postgresql";;
254 - mariadb)
255 - MONGODB=NO; POSTGRESQL=NO; MARIADB=YES; TAG="-armv6-mariadb";;
256 - all)
257 - MONGODB=YES; POSTGRESQL=YES; MARIADB=YES; TAG="-armv6";;
258 - slim)
259 - MONGODB=NO; POSTGRESQL=NO; MARIADB=NO; TAG="-armv6-slim";;
260 - esac
261 - docker buildx build \
262 - --platform linux/arm/v6 \
263 - --build-arg INCLUDE_MONGODB_TOOLS=$MONGODB \
264 - --build-arg INCLUDE_POSTGRESQL_TOOLS=$POSTGRESQL \
265 - --build-arg INCLUDE_MARIADB_TOOLS=$MARIADB \
266 - --build-arg DISABLE_MINIFY=yes \
267 - --build-arg DISABLE_TRANSLATE=yes \
268 - --build-arg DISABLE_EXTRACT=yes \
269 - --build-arg PREINSTALL_LIBS=true \
270 - -f docker/Dockerfile \
271 - -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}$TAG \
272 - --push \
273 - .
274 -
157 merge-manifest:
158 runs-on: ubuntu-22.04
159 needs:
160 - translate
161 - build-amd64
162 - build-arm64
281 - - build-armv7
282 - - build-armv6
163 name: Create and Push Multi-Arch Manifest
164 steps:
165 - name: Set up Docker Buildx
@@ -300,36 +180,26 @@ jobs:
180 -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-mongodb \
181 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-mongodb \
182 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-mongodb \
303 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-mongodb \
304 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-mongodb
183 # postgresql
184 docker buildx imagetools create \
185 -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-postgresql \
186 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-postgresql \
187 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-postgresql \
310 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-postgresql \
311 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-postgresql
188 # mariadb
189 docker buildx imagetools create \
190 -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-mariadb \
191 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-mariadb \
192 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-mariadb \
317 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-mariadb \
318 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-mariadb
193 # all (no suffix)
194 docker buildx imagetools create \
195 -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }} \
196 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64 \
197 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64 \
324 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7 \
325 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6
198 # slim
199 docker buildx imagetools create \
200 -t ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-slim \
201 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-slim \
202 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-slim \
331 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-slim \
332 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-slim
203 - name: Create and push 'latest' tags (releases only)
204 if: github.event_name == 'release'
205 run: |
@@ -339,33 +209,23 @@ jobs:
209 -t ghcr.io/$REPO_OWNER_LC/meshcentral:latest-mongodb \
210 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-mongodb \
211 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-mongodb \
342 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-mongodb \
343 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-mongodb
212 # latest-postgresql
213 docker buildx imagetools create \
214 -t ghcr.io/$REPO_OWNER_LC/meshcentral:latest-postgresql \
215 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-postgresql \
216 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-postgresql \
349 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-postgresql \
350 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-postgresql
217 # latest-mariadb
218 docker buildx imagetools create \
219 -t ghcr.io/$REPO_OWNER_LC/meshcentral:latest-mariadb \
220 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-mariadb \
221 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-mariadb \
356 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-mariadb \
357 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-mariadb
222 # latest (all databases)
223 docker buildx imagetools create \
224 -t ghcr.io/$REPO_OWNER_LC/meshcentral:latest \
225 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64 \
226 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64 \
363 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7 \
364 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6
227 # latest-slim
228 docker buildx imagetools create \
229 -t ghcr.io/$REPO_OWNER_LC/meshcentral:latest-slim \
230 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-amd64-slim \
231 ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-arm64-slim \
370 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv7-slim \
371 - ghcr.io/$REPO_OWNER_LC/meshcentral:${{ github.ref_name }}-armv6-slim