From 4f628e5aa069bd6c62a56da140e5102e54788b9a Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Tue, 5 May 2026 06:20:13 +0300 Subject: [PATCH] test --- .woodpecker.yaml | 4 ++-- backend/Dockerfile | 4 ++-- brand-master-chart/templates/backend-deployment.yaml | 2 +- brand-master-chart/templates/db-statefulset.yaml | 2 +- brand-master-chart/values.yaml | 2 +- frontend/Dockerfile | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index dc5bcca..7d2f918 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -49,7 +49,7 @@ steps: update-values-frontend: name: Update frontend tag in values.yaml - image: alpine:3.19 + image: harbor.dvirlabs.com/dockerhub/alpine:3.19 when: branch: [ master, develop ] event: [ push ] @@ -76,7 +76,7 @@ steps: update-values-backend: name: Update backend tag in values.yaml - image: alpine:3.19 + image: harbor.dvirlabs.com/dockerhub/alpine:3.19 when: branch: [ master, develop ] event: [ push ] diff --git a/backend/Dockerfile b/backend/Dockerfile index 56a6192..83ea706 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,5 +1,5 @@ -# Use Python 3.11 slim image as base -FROM python:3.11-slim +# Use Python 3.11 slim image from Harbor +FROM harbor.dvirlabs.com/base-images:3.11-slim # Set working directory WORKDIR /app diff --git a/brand-master-chart/templates/backend-deployment.yaml b/brand-master-chart/templates/backend-deployment.yaml index de46554..079a02c 100644 --- a/brand-master-chart/templates/backend-deployment.yaml +++ b/brand-master-chart/templates/backend-deployment.yaml @@ -30,7 +30,7 @@ spec: {{- toYaml .Values.podSecurityContext | nindent 8 }} initContainers: - name: wait-for-postgres - image: busybox:1.35 + image: harbor.dvirlabs.com/dockerhub/busybox:1.35 command: ['sh', '-c', 'until nc -z {{ include "brand-master.fullname" . }}-db-headless {{ .Values.postgres.port | default 5432 }}; do echo waiting for postgres; sleep 2; done;'] containers: - name: backend diff --git a/brand-master-chart/templates/db-statefulset.yaml b/brand-master-chart/templates/db-statefulset.yaml index 5debdc0..77be2a8 100644 --- a/brand-master-chart/templates/db-statefulset.yaml +++ b/brand-master-chart/templates/db-statefulset.yaml @@ -22,7 +22,7 @@ spec: fsGroup: 999 initContainers: - name: fix-permissions - image: busybox:latest + image: harbor.dvirlabs.com/dockerhub/busybox:latest command: - sh - -c diff --git a/brand-master-chart/values.yaml b/brand-master-chart/values.yaml index 9286702..7525c6e 100644 --- a/brand-master-chart/values.yaml +++ b/brand-master-chart/values.yaml @@ -105,7 +105,7 @@ frontend: postgres: name: db image: - repository: postgres + repository: harbor.dvirlabs.com/dockerhub/postgres tag: "16-alpine" pullPolicy: IfNotPresent diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 53518d8..fd64871 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:18-alpine AS build +FROM harbor.dvirlabs.com/base-images/node:18-alpine AS build # Set working directory WORKDIR /app @@ -21,7 +21,7 @@ ENV VITE_API_URL=${VITE_API_URL} RUN npm run build # Production stage -FROM nginx:alpine +FROM hharbor.dvirlabs.com/base-images/nginx:alpine # Remove default nginx config RUN rm /etc/nginx/conf.d/default.conf