Make postgres readiness optional for registry builds
This commit is contained in:
+4
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user