ci: pull node base image from Harbor instead of docker.io
Build and Deploy Platform / build-and-deploy (push) Failing after 47s

Kaniko builds failed with context deadline exceeded pulling node:24-alpine
from index.docker.io through the egress proxy. Seed node:24-alpine into
abrban/ and pass BASE_IMAGE build-arg so builds use the internal registry.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-07-02 18:32:41 +03:30
parent f2e8195d1d
commit 6ba77eebcf
5 changed files with 20 additions and 11 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
# ---- Stage 1: Build ----
FROM node:24-alpine AS builder
ARG BASE_IMAGE=node:24-alpine
FROM ${BASE_IMAGE} AS builder
WORKDIR /app
@@ -10,7 +11,7 @@ COPY . .
RUN npm run build
# ---- Stage 2: Production ----
FROM node:24-alpine AS production
FROM ${BASE_IMAGE} AS production
RUN apk add --no-cache dumb-init curl bash \
&& curl -fsSL https://get.helm.sh/helm-v3.15.4-linux-amd64.tar.gz | tar xz -C /tmp \