Docs Navigation

Setting up continuous delivery with Heroku Container Registry

Heroku is a powerful platform for deploying your applications. It supports deploying apps written in many languages and frameworks out of the box. This includes support for deploying and running Dockerized apps easily.

Deploying Docker images to Heroku with Semaphore is intuitive and simple, and it only takes a few clicks.

In order to use Docker Registry integrations, you first need to set up your project as a Docker project on Semaphore. Read Setting up continuous integration for a Docker project on Semaphore for more information.

Configuring the Heroku Container Registry project add-on will enable you to push Docker images without having to log into Heroku during builds and deployments.

This can be done by visiting your project on Semaphore and clicking "Add-ons" in the upper right corner of your screen.

Click Project Add-ons

Next, click "Docker Registry".

Click Docker Registry

Choose the "Heroku Container Registry" integration.

Click Heroku Container Registry integration

Next, you will be prompted with an input field requiring your Heroku API key.

You can obtain Heroku API key in Heroku account settings.

Heroku Container Registry form

After you have entered the API key, click "Save". Your Heroku Container Registry credentials will be securely encrypted and saved.

You can now push images to Heroku Container Registry through Semaphore.

It's best to push images using Heroku's official documentation:

docker tag <image><app>/<process-type>
docker push<app>/<process-type>

Happy building!

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.