From 6f1820e2ab715cb7f5f144c17a3150dc5b3ad6e7 Mon Sep 17 00:00:00 2001 From: Yera All Date: Sat, 4 Apr 2026 02:39:50 +0500 Subject: [PATCH] Make postgres readiness optional for registry builds --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d557a1f..308458a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -102,7 +102,8 @@ build-app-image: stage: build needs: - test - - postgres-readiness + - job: postgres-readiness + optional: true script: - docker build -t "$APP_IMAGE" . - docker push "$APP_IMAGE" @@ -122,7 +123,8 @@ build-asterisk-image: stage: build needs: - test - - postgres-readiness + - job: postgres-readiness + optional: true script: - docker build -f deployment/asterisk/Dockerfile -t "$ASTERISK_IMAGE" . - docker push "$ASTERISK_IMAGE"