Skip to content

Commit 0084971

Browse files
dapiclaude
andcommitted
ci: switch to Selectel CR for Docker images
Replace Docker Hub postgres with Selectel Container Registry to avoid rate limits. Changed: - postgres → cr.selcloud.ru/brandymint/dockerhub/library/postgres:17 - Added credentials for Selectel CR Requires: SELCLOUD_TOKEN secret in GitHub repository settings. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 45416b7 commit 0084971

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242

4343
services:
4444
postgres:
45-
image: postgres
45+
image: cr.selcloud.ru/brandymint/dockerhub/library/postgres:17
46+
credentials:
47+
username: token
48+
password: ${{ secrets.SELCLOUD_TOKEN }}
4649
env:
4750
POSTGRES_USER: postgres
4851
POSTGRES_PASSWORD: postgres
@@ -51,7 +54,10 @@ jobs:
5154
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3
5255

5356
# redis:
54-
# image: redis
57+
# image: cr.selcloud.ru/brandymint/dockerhub/library/redis:latest
58+
# credentials:
59+
# username: token
60+
# password: ${{ secrets.SELCLOUD_TOKEN }}
5561
# ports:
5662
# - 6379:6379
5763
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5

0 commit comments

Comments
 (0)