test
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
dvirlabs 2026-05-05 06:20:13 +03:00
parent fe8381170a
commit 4f628e5aa0
6 changed files with 9 additions and 9 deletions

View File

@ -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 ]

View File

@ -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

View File

@ -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

View File

@ -22,7 +22,7 @@ spec:
fsGroup: 999
initContainers:
- name: fix-permissions
image: busybox:latest
image: harbor.dvirlabs.com/dockerhub/busybox:latest
command:
- sh
- -c

View File

@ -105,7 +105,7 @@ frontend:
postgres:
name: db
image:
repository: postgres
repository: harbor.dvirlabs.com/dockerhub/postgres
tag: "16-alpine"
pullPolicy: IfNotPresent

View File

@ -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