How to build a docker image from two Github repos using Dockerhub’s autobuild?

  docker, dockerfile, dockerhub

I know it’s very easy to use Dockerhub’s autobuild feature to build a single docker image from a single Github repo.

But now we have two Github private repos, each of which contains necessary sources to build our application. I wonder is there any way to automatically build a single docker image from those two Github repos?

Any instructions or suggestions will be very much appreciated!

Source: Docker Questions