deploy: do not fail when the MinIO images cannot be pulled
All checks were successful
Deploy storage stack / deploy (push) Successful in 47s

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
This commit is contained in:
Sergei Poljanski 2026-11-11 03:24:59 +04:00
commit 5619e8e11b
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -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