Webhook for sending notifications from docker hub builds to slack
https://api.slack.com/incoming-webhooks
Quickstart for Go 1.11 in the App Engine Standard Environment https://cloud.google.com/appengine/docs/standard/go111/quickstart
- Create app
$ gcloud app create
-
Pull this project
-
Add you slack webhook to app.yaml
runtime: go111
instance_class: F1
env_variables:
SLACK_HOOK: "YOUR_SLACK_WEBHOOK"
# PORT: 80 Optional parameter- Deploy app to cloud
$ gcloud app deploy
https://docs.docker.com/docker-hub/webhooks/
You can build this application and run on any enviroment supported by Go as standalone webservice. You can modify this repository to be deployed on Heroku.
Stefan Monko || smonko@simianlabs.io
Simian Labs - (https://github.com/simianlabs)
http://simianlabs.io || sl@simianlabs.io