Deploy Docker Image to Heroku App
ActionsA simple action to build, push and deploy a Docker Image to your Heroku app
v3.1.0
LatestBy jctaveras
Tags
(2)A simple action to build, push and deploy containers to your Heroku app.
name: '' # set whatever name you want to your github job
on: {} # set the events you would like to trigger this job
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build, Push and Deploy to Heroku # set whatever name you want to this step
id: heroku
uses: jctaveras/heroku-deploy@v1.0.0 # use the latest version of the action
with:
email: ${{ secrets.HEROKU_EMAIL }} # your heroku email
api_key: ${{ secrets.HEROKU_API_KEY }} # your heroku api key
app_name: ${{ secrets.HEROKU_APP_NAME }} # you aplication name
dockerfile_path: '.' # set the path to the folder where the Dockerfile is located
process_type: 'web' # Specify the process type you want to build and release
Variables | Description | Required |
---|---|---|
Heroku Email Account | ✅ | |
api_key | Heroku API Key | ✅ |
app_name | Heroku App Name | ✅ |
dockerfile_path | Path where your Docker File | ✅ |
process_type | A space separated list of process you want to build and release | ✅ |
Deploy Docker Image to Heroku App is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.