====== needs ====== ===== OR-ed needs ===== Not possible * [[https://gitlab.com/gitlab-org/gitlab/-/issues/363667|Is there a way to use OR condition with needs in GitLab CI job]] * [[https://forum.gitlab.com/t/is-there-a-way-to-use-or-condition-with-needs-in-gitlab-ci-job/70393/5|Is there a way to use OR condition with needs in GitLab CI job]] Workaround: * duplicate all jobs chain (use hidden job as template and change only relevant parts) * Do not use needs, but simple stage ordering. * use optional (but it is not the same like OR: sideffect: possible to start job wihtout needed artifacts) docker-login: extends: .docker needs: - job: docker-build-VITE optional: true - job: docker-build-WEBPACK optional: true