Make postgres readiness optional for registry builds

This commit is contained in:
Yera All
2026-04-04 02:39:50 +05:00
parent 46c15f1501
commit 6f1820e2ab
+4 -2
View File
@@ -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"