diff --git a/.github/workflows/_quality.yml b/.github/workflows/_quality.yml index 8238b2f49..65044a498 100644 --- a/.github/workflows/_quality.yml +++ b/.github/workflows/_quality.yml @@ -35,7 +35,7 @@ jobs: CPR_TEST_REDIS_URL: redis://127.0.0.1:6379 services: postgres: - image: postgres:18-bookworm@sha256:bbf83594798e144bff365a9c191c5d779f181fb3135902064ab8ff11918020fc + image: postgres:18-bookworm@sha256:194e55feb2597b1465dbee81cc9fd8d204566cd2eb42c8d22fd6c931a38781b1 env: POSTGRES_DB: codex_proxy POSTGRES_USER: codex_proxy @@ -49,7 +49,7 @@ jobs: --health-timeout 5s --health-retries 10 redis: - image: redis:8-alpine@sha256:0bf6577d7774e592b29d093e3ac9390eb91e13d72c21e506afce736de5e0eeb0 + image: redis:8-alpine@sha256:7958cfbb9d152f87dadfbc89f1b0b15938f0b81ff8982feb327476f4911935c3 ports: - 6379:6379 options: >- diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 05cd988e0..eedfac2a6 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -2,7 +2,7 @@ # PostgreSQL 服务端镜像:备份客户端(pg_dump/pg_restore)从这里取,与 compose 同源、 # 版本严格一致。升级数据库版本时只需同步修改这里与 deploy/compose.yaml。 -ARG POSTGRES_IMAGE=postgres:18-bookworm@sha256:bbf83594798e144bff365a9c191c5d779f181fb3135902064ab8ff11918020fc +ARG POSTGRES_IMAGE=postgres:18-bookworm@sha256:194e55feb2597b1465dbee81cc9fd8d204566cd2eb42c8d22fd6c931a38781b1 FROM node:26.13.1-bookworm-slim@sha256:5df79989ed685e09f0a98019db4cebfb22fb9df1a53c0161664a011f7ff6b0f1 AS frontend-builder diff --git a/deploy/compose.yaml b/deploy/compose.yaml index b8184c67e..9172a3248 100644 --- a/deploy/compose.yaml +++ b/deploy/compose.yaml @@ -11,7 +11,7 @@ services: extends: file: config.yaml service: postgres-credentials - image: postgres:18-bookworm@sha256:bbf83594798e144bff365a9c191c5d779f181fb3135902064ab8ff11918020fc + image: postgres:18-bookworm@sha256:194e55feb2597b1465dbee81cc9fd8d204566cd2eb42c8d22fd6c931a38781b1 restart: unless-stopped # 小内存部署可在此调整数据库预算,保留 UTC 参数,详见 README.md#小内存优化 command: @@ -46,7 +46,7 @@ services: extends: file: config.yaml service: redis-credentials - image: redis:8-alpine@sha256:0bf6577d7774e592b29d093e3ac9390eb91e13d72c21e506afce736de5e0eeb0 + image: redis:8-alpine@sha256:7958cfbb9d152f87dadfbc89f1b0b15938f0b81ff8982feb327476f4911935c3 restart: unless-stopped volumes: - type: bind