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:
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>
Semaphore Docs are open source — Edit on GitHub