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 integration will enable you to push Docker images without having to log into Heroku during builds and deployments. To achieve this, do the following:

  • visit your project on Semaphore and click on "Project settings" in the upper right corner of your screen
  • select "Docker Registry"
  • select the "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.

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> registry.heroku.com/<app>/<process-type>
docker push registry.heroku.com/<app>/<process-type>

Happy building!

Semaphore Docs are open source — Edit on GitHub

Newsletter

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

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