Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

A simple action to build, push and deploy your dockerized app to your Heroku Application

Notifications You must be signed in to change notification settings

techmmunity/docker-heroku-deploy

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker To Heroku Deploy - GitHub Action

Action to build, push and deploy containers to you Heroku app.

Original Author: Jean Carlos Taveras

Adapted by: Techmmunity

How to use it

name: "" #set whatevername you want to your github job
on: # set the events you would like to trigger this job
  push:
    branches: [master]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Build, Push and Deploy to Heroku
        id: heroku
        uses: Techmmunity/docker-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: "." # OPTIONAL: set the path to the folder wher the Dockerfile is located, the default is the rootDir
          dockerfile_name: "." # OPTIONAL: Custom name to your dockerfile, like Dockerfile.dev
          options: "" # OPTIONAL: Docker Build Options
          formation: "web" # OPTIONAL: Docker Dyno Formation. By default is web

About

A simple action to build, push and deploy your dockerized app to your Heroku Application

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%