Created
September 23, 2022 14:52
-
-
Save DarthSim/780f2b17310e45b7af446782eec4f3d4 to your computer and use it in GitHub Desktop.
Revisions
-
DarthSim created this gist
Sep 23, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ 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