deploy: do not fail when the MinIO images cannot be pulled
All checks were successful
Deploy storage stack / deploy (push) Successful in 47s
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:
parent
10c620e796
commit
5619e8e11b
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue