This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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}'` |