feat(ci): Use local registry 10.100.9.70:5000 for base images
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Kelly
2025-12-15 18:28:20 -07:00
parent 74f813d68f
commit 7cf1b7643f
5 changed files with 14 additions and 14 deletions

View File

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

View File

@@ -1,6 +1,6 @@
# Build stage
# Image: git.spdy.io/creationshop/dispensary-scraper
FROM mirror.gcr.io/library/node:22-slim AS builder
FROM 10.100.9.70:5000/node:22-slim AS builder
# Install build tools for native modules (bcrypt, sharp)
RUN apt-get update && apt-get install -y \
@@ -27,7 +27,7 @@ RUN npm run build
RUN npm prune --production
# Production stage
FROM mirror.gcr.io/library/node:22-slim
FROM 10.100.9.70:5000/node:22-slim
# Build arguments for version info
ARG APP_BUILD_VERSION=dev

View File

@@ -1,5 +1,5 @@
# Build stage
FROM mirror.gcr.io/library/node:22-slim AS builder
FROM 10.100.9.70:5000/node:22-slim AS builder
WORKDIR /app
@@ -20,7 +20,7 @@ COPY . .
RUN npm run build
# Production stage
FROM mirror.gcr.io/library/nginx:alpine
FROM 10.100.9.70:5000/nginx:alpine
# Copy built assets from builder stage
COPY --from=builder /app/dist /usr/share/nginx/html

View File

@@ -1,5 +1,5 @@
# Build stage
FROM mirror.gcr.io/library/node:22-slim AS builder
FROM 10.100.9.70:5000/node:22-slim AS builder
WORKDIR /app
@@ -20,7 +20,7 @@ COPY . .
RUN npm run build
# Production stage
FROM mirror.gcr.io/library/nginx:alpine
FROM 10.100.9.70:5000/nginx:alpine
# Copy built assets from builder stage (CRA outputs to /build)
COPY --from=builder /app/build /usr/share/nginx/html

View File

@@ -1,5 +1,5 @@
# Build stage
FROM mirror.gcr.io/library/node:22-slim AS builder
FROM 10.100.9.70:5000/node:22-slim AS builder
WORKDIR /app
@@ -25,7 +25,7 @@ COPY . .
RUN npm run build
# Production stage
FROM mirror.gcr.io/library/nginx:alpine
FROM 10.100.9.70:5000/nginx:alpine
# Copy built assets from builder stage (CRA outputs to /build)
COPY --from=builder /app/build /usr/share/nginx/html