Push multiple Docker images to Heroku Container Registry

Change effective on 10 July 2017

Heroku Container Registry now has support for pushing multiple Dockerfiles. First rename your Dockerfiles using Dockerfile.<process-type>:

$ ls -R

./webapp:
Dockerfile.web

./worker:
Dockerfile.worker

./image-processor:
Dockerfile.image

Then, from the root directory of the project, run:

$ heroku container:push --recursive
=== Building web
=== Building worker
=== Building image
=== Pushing web
=== Pushing worker
=== Pushing image

Check out the Dev Center documentation to learn more about pushing multiple Docker images to the Heroku Container Registry .