fix: pull MinIO from quay.io so CI can start the stack
The integration job failed on the runner with "pull access denied for minio/minio ... may require 'docker login'". Docker Hub now refuses anonymous pulls of minio/minio: an unauthenticated manifest request returns 401 UNAUTHORIZED, while library/postgres returns 200, which is why only MinIO failed. It worked locally only because this machine is logged in to Docker Hub. quay.io serves the same release anonymously, and it is the same image: both registries resolve to image ID sha256:a1ea29fa2835. MINIO_IMAGE overrides it for anyone mirroring into their own registry. Verified by deleting the Docker Hub copy locally and starting the stack from quay alone, then running the full suite against it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,11 @@ services:
|
|||||||
retries: 30
|
retries: 30
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
|
# quay.io, not Docker Hub: minio/minio there now answers anonymous pulls
|
||||||
|
# with 401 authentication required, which breaks any runner that is not
|
||||||
|
# logged in. Same image — identical image ID. Override MINIO_IMAGE to use
|
||||||
|
# a mirror of your own.
|
||||||
|
image: ${MINIO_IMAGE:-quay.io/minio/minio:RELEASE.2025-04-22T22-12-26Z}
|
||||||
command: server /data --console-address :9001
|
command: server /data --console-address :9001
|
||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-dtf_local}
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-dtf_local}
|
||||||
@@ -95,7 +99,7 @@ services:
|
|||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
|
||||||
storage-init:
|
storage-init:
|
||||||
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
|
image: ${MINIO_IMAGE:-quay.io/minio/minio:RELEASE.2025-04-22T22-12-26Z}
|
||||||
entrypoint: [/bin/sh, /init.sh]
|
entrypoint: [/bin/sh, /init.sh]
|
||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-dtf_local}
|
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-dtf_local}
|
||||||
|
|||||||
Reference in New Issue
Block a user