Created
September 23, 2022 14:52
-
-
Save DarthSim/780f2b17310e45b7af446782eec4f3d4 to your computer and use it in GitHub Desktop.
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
HEROKU_APPLICATION="your_application_name" | |
IMGPROXY_TAG="v3.7.2" | |
# You'll probably have to do this just once | |
heroku login | |
heroku container:login | |
# Make sure you use "-amd64" prefix. Otherwise you may accidentally deploy | |
# arm64 build of imgproxy which won't run on Heroku | |
docker pull us-docker.pkg.dev/imgproxy-pro/v3/imgproxy:$IMGPROXY_TAG-amd64 | |
docker tag us-docker.pkg.dev/imgproxy-pro/v3/imgproxy:$IMGPROXY_TAG-amd64 registry.heroku.com/$HEROKU_APPLICATION/web:latest | |
docker push registry.heroku.com/$HEROKU_APPLICATION/web:latest | |
heroku container:release web -a $HEROKU_APPLICATION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment