Skip to content
Snippets Groups Projects
Commit 390c6633 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl
Browse files

Add new file

parent 796f7783
No related branches found
No related tags found
2 merge requests!3Merge new master to dev,!2Uc 2
Pipeline #112931 failed
#!/bin/sh
IMAGE_ID=$(docker inspect ${HEROKU_REGISTRY_IMAGE} --format={{.Id}})
PAYLOAD='{"updates": [{"type": "web", "docker_image": "'"$IMAGE_ID"'"}]}'
curl -n -X PATCH https://api.heroku.com/apps/$HEROKU_APP_NAME/formation \
-d "${PAYLOAD}" \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.heroku+json; version=3.docker-releases" \
-H "Authorization: Bearer ${HEROKU_API_KEY}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment