Skip to content

Instantly share code, notes, and snippets.

View tmuguet's full-sized avatar

Thomas Muguet tmuguet

View GitHub Profile
@tmuguet
tmuguet / deploy.sh
Created April 13, 2021 15:17
Deploy an existing Docker image to Heroku
#!/bin/bash
# Requires docker CLI and heroku CLI
# Specify here the docker image you want to deploy from Docker registry
docker_image=damoeb/rss-proxy
# Specify here the name of your Heroku app
heroku_app=my-heroku-app
docker pull $docker_image
id=`docker images | grep $docker_image | awk '{print $3}'`