Permalink
Cannot retrieve contributors at this time
executable file
8 lines (8 sloc)
412 Bytes
|
#!/bin/bash |
|
imageId=$(docker inspect registry.heroku.com/microservice-60min/web --format={{.Id}}) |
|
payload='{"updates":[{"type":"web","docker_image":"'"$imageId"'"}]}' |
|
curl -n -X PATCH https://api.heroku.com/apps/microservice-60min/formation \ |
|
-d "$payload" \ |
|
-H "Content-Type: application/json" \ |
|
-H "Accept: application/vnd.heroku+json; version=3.docker-releases" \ |
|
-H "Authorization: Bearer $HEROKU_AUTH_TOKEN" |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.