Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.09 KB

Slack + DockerHub integration

Use the already deployed service at https://hooks-slack-dockerhub.herokuapp.com

Run your own

You can clone the repo dciccale/slack-dockerhub-integration and run this service in your own server. Dockerfile provided.

With Docker

To build the image and run the container

$ npm run build
$ npm run container

To stop the container

$ npm stop

Usage

Slack

Set up an incoming webhook integration in your Slack team to try it out.

See full documentation on incoming webhooks

DockerHub

After creating your incoming webhook, you will get a url like this one:

https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

Change the domain from hooks.slack.com to hooks-slack-dockerhub.herokuapp.com

Create a new webhook on DockerHub and paste the url:

https://hooks-slack-dockerhub.herokuapp.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

Done!