ci(deploy): pin minio to pre-x86-64-v2 release (baseline CPU)
CI/CD / CI · Web (tsc) (push) Successful in 1m9s
CI/CD / Deploy · full stack (push) Failing after 1m4s

Server VPS CPU lacks x86-64-v2; newer minio:latest is built for it and crash-loops
with 'Fatal glibc error: CPU does not support x86-64-v2'. Pin to a 2024 release that
runs on baseline x86-64 (override with MINIO_IMAGE_TAG if a different tag is on the
mirror). Local dev stays on :latest via .env.v2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-12 19:32:55 +03:30
parent 21a203b012
commit 56e2202b5b
+4 -1
View File
@@ -40,7 +40,10 @@ services:
start_period: 10s
minio:
image: ${INFRA_REGISTRY:-mirror.soroushasadi.com/}minio/minio:latest
# Pinned to a pre-x86-64-v2 release: newer minio:latest is compiled for
# x86-64-v2 and crashes ("Fatal glibc error") on baseline-CPU servers.
# Override via MINIO_IMAGE_TAG in the env if this tag isn't on the mirror.
image: ${INFRA_REGISTRY:-mirror.soroushasadi.com/}minio/minio:${MINIO_IMAGE_TAG:-RELEASE.2024-06-13T22-53-53Z}
container_name: fr2-minio
restart: unless-stopped
command: server /data --console-address ":9001"