Multiple workflows in the same project with shared jobs

How can I trigger some job that requiring another job in another workflow in the same project?
e.g.

workflows:
  version: 2
  build:
    jobs:
      - build:
          name: "build docker image"
          <<: *circleci_contexts
          filters:
            tags:
              only: /.*/

  test:
    jobs:
      - test_a:
          <<: *circleci_contexts
          requires:
            - "build docker image"

the job test_a should execute only when the job "build docker image" form the first workflow will be done.