From 96b9ec11d6666815b31a38e53c0240f72877a0c0 Mon Sep 17 00:00:00 2001 From: claude_code Date: Tue, 30 Jun 2026 08:50:00 +0300 Subject: [PATCH] ci: use mirror.gcr.io for postgres and redis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update GitHub workflow services to pull PostgreSQL and Redis images from `mirror.gcr.io` instead of Docker Hub. This avoids anonymous pull rate‑limit failures on shared GitHub runner IPs by using the Docker Hub pull‑through cache. --- .github/workflows/develop.yml | 14 ++++++++++---- .github/workflows/test.yml | 7 +++++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index c4df52b8..8f6dce1f 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -75,7 +75,9 @@ jobs: APP_URL: http://localhost:3000 services: postgres: - image: pgvector/pgvector:pg18 + # via mirror.gcr.io (Docker Hub pull-through cache; avoids Hub anonymous + # pull rate-limit that randomly fails on shared GitHub runner IPs). + image: mirror.gcr.io/pgvector/pgvector:pg18 env: POSTGRES_DB: docmost POSTGRES_USER: docmost @@ -88,7 +90,8 @@ jobs: --health-timeout 5s --health-retries 20 redis: - image: redis:7 + # via mirror.gcr.io (see postgres note above). + image: mirror.gcr.io/library/redis:7 ports: - 6379:6379 options: >- @@ -135,7 +138,9 @@ jobs: NODE_ENV: production services: postgres: - image: pgvector/pgvector:pg18 + # via mirror.gcr.io (Docker Hub pull-through cache; avoids Hub anonymous + # pull rate-limit that randomly fails on shared GitHub runner IPs). + image: mirror.gcr.io/pgvector/pgvector:pg18 env: POSTGRES_DB: docmost POSTGRES_USER: docmost @@ -148,7 +153,8 @@ jobs: --health-timeout 5s --health-retries 20 redis: - image: redis:7 + # via mirror.gcr.io (see postgres note above). + image: mirror.gcr.io/library/redis:7 ports: - 6379:6379 options: >- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92eea23e..1d9ca3ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,9 @@ jobs: # TEST_*_URL overrides are needed. services: postgres: - image: pgvector/pgvector:pg18 + # via mirror.gcr.io (Docker Hub pull-through cache; avoids Hub anonymous + # pull rate-limit that randomly fails on shared GitHub runner IPs). + image: mirror.gcr.io/pgvector/pgvector:pg18 env: POSTGRES_USER: docmost POSTGRES_PASSWORD: docmost_dev_pw @@ -40,7 +42,8 @@ jobs: --health-timeout 5s --health-retries 5 redis: - image: redis:7 + # via mirror.gcr.io (see postgres note above). + image: mirror.gcr.io/library/redis:7 ports: - 6379:6379 options: >-