needs

OR-ed needs

Not possible

Workaround:

docker-login:
  extends: .docker
  needs:
    - job: docker-build-VITE
      optional: true
    - job: docker-build-WEBPACK
      optional: true