https://github.com/tomkerkhove/docker-hub-notifications-bot
A bot to post comments on GitHub pull requests when a new Docker image is pushed
https://github.com/tomkerkhove/docker-hub-notifications-bot
automation azure docker docker-hub github github-bot
Last synced: 2 months ago
JSON representation
A bot to post comments on GitHub pull requests when a new Docker image is pushed
- Host: GitHub
- URL: https://github.com/tomkerkhove/docker-hub-notifications-bot
- Owner: tomkerkhove
- License: mit
- Created: 2019-03-27T20:11:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-20T15:47:40.000Z (over 6 years ago)
- Last Synced: 2026-04-03T11:32:30.929Z (3 months ago)
- Topics: automation, azure, docker, docker-hub, github, github-bot
- Homepage:
- Size: 149 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Hub Bot for GitHub Pull Requests
A bot to help you manage GitHub pull requests by posting updates on images pushed to Docker Hub for this PR.
# Prerequisites
- An Azure subscription
- Access to the Docker Hub repository
- GitHub user that will be used to post comments
- Push Docker tags in format of `pr{pr-id}`, but you can also tweak the template to use your pattern
# Deployment
1. Deploy the ARM template in `src` or use the "Deploy to Azure" button
2. Create a new webhook registration on your Docker Hub repository
3. All set!
## How it works
The bot is a simple Azure Logic App which will receive notifications from Docker Hub, interpret the information and compose a comment for the PR.
By default the Logic App will determine the PR id given it assumes to have the `pr{pr-id}` format.

If your pattern diverts from this pattern you can always tweak the bot and deploy that instead.
# License Information
This is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the web application. But you always need to state that Tom Kerkhove is the original author of this web application.