Skip to content

fix(ci): replace unpullable minio images - #507

Merged
imshashank merged 1 commit into
mainfrom
fix/minio-images
Sep 28, 2026
Merged

imshashank merged 1 commit into
mainfrom
fix/minio-images

Conversation

@imshashank

Copy link
Copy Markdown
Contributor

What this changes

Replaces the pinned quay.io/minio/minio and quay.io/minio/mc images with docker.io/pgsty/minio and docker.io/pgsty/mc, pinned by multi-arch index digest, everywhere they appear: CI, local docker-compose.yml, the Docker preview, the container catalogs, Zeabur and Render.

Why

Both quay.io digests now return unauthorized and docker manifest inspect reports no such manifest, for the digests and for :latest. Docker Hub minio/minio is denied too. Since about 2026-09-24 18:56 UTC every CI run fails both end-to-end jobs at the docker run ... orbit-minio step with exit code 125, before a single Playwright spec runs, and a fresh bun run infra:up or self-hosted install cannot pull storage at all.

The pgsty images are the Pigsty project's community builds of the MinIO release line. They keep the upstream entrypoint (docker-entrypoint.sh with minio as the default command) and include mc and sh, so nothing else has to change. Both images publish amd64 and arm64.

How you know it works

Ran every storage command the repo depends on against the new images locally:

  • mc ready local inside the server container (the compose healthcheck)
  • mc alias set ... --api S3v4, mc ready
  • mc admin config set api cors_allow_origin=..., mc admin service restart --json --wait, and the case check in initialize-storage.sh confirming the setting persisted
  • mc mb --ignore-existing twice, upload and read back an object
  • MC_HOST_<alias> environment aliases (the preview bucket service)

Also built deploy/docker/Dockerfile.bucket on the new base, validated docker-compose.yml, and ran the root deploy and distribution suites (86 pass, 0 fail). The end-to-end jobs on this PR are the real proof.

Checklist

  • No comments added to code, and no em-dash characters anywhere
  • Tests: covered by the end-to-end jobs this unblocks
  • Docs updated: no doc names the image

The quay.io minio and mc images pinned by digest now return
unauthorized, so every end-to-end job fails before Playwright starts
and fresh self-hosted installs cannot pull storage. Pin the
community-maintained pgsty builds by index digest instead. They ship
the same minio server entrypoint, mc, and a shell, so the CI bucket
step, the compose healthchecks and initialize-storage.sh keep working
unchanged.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@github-actions github-actions Bot added the ci Workflows, tooling and repo automation label Sep 28, 2026
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: Noveum/orbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 59656e79-3f09-4c73-90c6-47472727ddc0

📥 Commits

Reviewing files that changed from the base of the PR and between 41691a5 and 3188620.

📒 Files selected for processing (7)
  • .github/workflows/ci.yml
  • deploy/catalogs/compose.yaml
  • deploy/catalogs/zeabur.yaml
  • deploy/docker/Dockerfile.bucket
  • deploy/docker/compose.yaml
  • docker-compose.yml
  • render.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

CI and deployment configurations now use pinned MinIO server and client images from docker.io/pgsty instead of quay.io/minio. The CI health check, bucket setup command, and failure handling remain unchanged.

Changes

MinIO Image Sources

Layer / File(s) Summary
Update MinIO image references
.github/workflows/ci.yml, deploy/catalogs/compose.yaml, deploy/catalogs/zeabur.yaml, deploy/docker/Dockerfile.bucket, deploy/docker/compose.yaml, docker-compose.yml, render.yaml
CI and deployment configurations use pinned MinIO server and client images from docker.io/pgsty. The CI health check and setup flow remain unchanged.

Priority: ⬆️ High

Estimated code review effort: 2 (Simple) | ~7 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 31886

The available review evidence establishes no concrete startup or storage failure from these changes; image compatibility was not independently verified.

Security Architecture Review

Security architecture risk: 🟡 Moderate · up to 31886

The replacement images are pinned, and the existing credentials, storage mounts, and startup configuration remain in place. However, the storage service and bucket client now rely on a different image publisher while retaining access to storage credentials and data. The reviewed material does not establish the new images’ provenance or their behavior during rollback.

Retained concerns

  • Medium · security · inferred: The new third-party image publisher becomes part of the trust boundary for a persistent storage service with root credentials and data access; the reviewed evidence does not establish provenance for the selected builds. A compromised build could exercise that existing authority, although no compromise is evidenced.
Security review details

Security Blast Radius

  • inferred — The independently affected assets are each deployment’s object-storage credentials and stored objects, rather than a new repository-wide IAM permission. The declarations do not establish isolation or exposure beyond the inspected services.

Security Findings and Attack Paths

  • inferred — If a replacement image were malicious, its runtime access to root credentials and /data could permit object access or alteration. This is a conditional supply-chain path, not evidence that the images are malicious.

Trust Boundaries and Controls

  • observed — Server and client images are digest-pinned. That fixes the selected image references but does not itself establish who built their contents.

Resilience and Maintainability Implications

  • observed — CI has bounded storage-health polling and failure logs, while the deployment initializer retries readiness and uses repeatable bucket creation. These checks exercise availability, not image provenance or persisted-data rollback.

Hardening Proposals

  • proposed — Verify the selected server and client digests against an approved build provenance or signature, and establish a pullable rollback artifact before production rollout.
  • proposed — Exercise replacement images against an existing /data volume and interrupted or mixed server/client initialization before relying on them for recovery.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: replacing unpullable MinIO images. It is concise and specific.
Description check ✅ Passed The description directly explains the image replacement, the pull failures, affected deployments, and validation performed.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Workflows, tooling and repo automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant