Not possible
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