fix(ci): Use mirror.gcr.io to avoid Docker Hub rate limits
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Kelly
2025-12-15 18:11:16 -07:00
parent 541b461283
commit 7fdcfc4fc4

View File

@@ -3,7 +3,7 @@ steps:
# PR VALIDATION: Parallel type checks (PRs only) # PR VALIDATION: Parallel type checks (PRs only)
# =========================================== # ===========================================
typecheck-backend: typecheck-backend:
image: node:20 image: mirror.gcr.io/library/node:22
commands: commands:
- cd backend - cd backend
- npm ci --prefer-offline - npm ci --prefer-offline
@@ -13,7 +13,7 @@ steps:
event: pull_request event: pull_request
typecheck-cannaiq: typecheck-cannaiq:
image: node:20 image: mirror.gcr.io/library/node:22
commands: commands:
- cd cannaiq - cd cannaiq
- npm ci --prefer-offline - npm ci --prefer-offline
@@ -23,7 +23,7 @@ steps:
event: pull_request event: pull_request
typecheck-findadispo: typecheck-findadispo:
image: node:20 image: mirror.gcr.io/library/node:22
commands: commands:
- cd findadispo/frontend - cd findadispo/frontend
- npm ci --prefer-offline - npm ci --prefer-offline
@@ -33,7 +33,7 @@ steps:
event: pull_request event: pull_request
typecheck-findagram: typecheck-findagram:
image: node:20 image: mirror.gcr.io/library/node:22
commands: commands:
- cd findagram/frontend - cd findagram/frontend
- npm ci --prefer-offline - npm ci --prefer-offline
@@ -46,7 +46,7 @@ steps:
# AUTO-MERGE: Merge PR after all checks pass # AUTO-MERGE: Merge PR after all checks pass
# =========================================== # ===========================================
auto-merge: auto-merge:
image: alpine:latest image: mirror.gcr.io/library/alpine:latest
environment: environment:
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea_token from_secret: gitea_token
@@ -156,7 +156,7 @@ steps:
# STAGE 3: Deploy and Run Migrations # STAGE 3: Deploy and Run Migrations
# =========================================== # ===========================================
deploy: deploy:
image: bitnami/kubectl:latest image: mirror.gcr.io/bitnami/kubectl:latest
environment: environment:
KUBECONFIG_CONTENT: KUBECONFIG_CONTENT:
from_secret: kubeconfig_data from_secret: kubeconfig_data