Skip to content

Instantly share code, notes, and snippets.

Avatar

Thomas Muguet tmuguet

View GitHub Profile
@tmuguet
tmuguet / deploy.sh
Created Apr 13, 2021
Deploy an existing Docker image to Heroku
View deploy.sh
#!/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}'`