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"