From 5619e8e11b3ecd9f52e01796b944c792e7d5687a Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Wed, 11 Nov 2026 03:24:59 +0400 Subject: [PATCH] deploy: do not fail when the MinIO images cannot be pulled minio/minio and minio/mc no longer exist on Docker Hub or Quay, so docker compose pull fails and, with script_stop, ends every deploy before anything is applied. Ignore pull failures. Postgres is still updated; MinIO and its init container run from the copies cached on the host. Assisted-by: Claude:fable-5-2 --- .forgejo/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 58c7cb3..4491784 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -66,7 +66,9 @@ jobs: chmod +x /opt/storage/init/postgres-init.sh /opt/storage/init/minio-bootstrap.sh cd /opt/storage - docker compose pull + # minio/minio and minio/mc are gone from Docker Hub (upstream + # abandoned); the host's cached copies are all there is. + docker compose pull --ignore-pull-failures docker compose up -d postgres minio # Run init containers (idempotent) and wait for them to exit. docker compose up --exit-code-from postgres-init postgres-init