Skip to content

Python script to monitor remote sites for version changes and trigger Docker image builds

License

Notifications You must be signed in to change notification settings

binhex/trigger-docker-build

Repository files navigation

Application: TriggerDockerBuild

Description: A Python script to monitor GitHub, Arch Repository and Arch User Repository for version changes, if a change is identified then we create a new GitHub release which then triggers the GitHub Action to build, test and push the Docker image to multiple Docker registries.

Features:

  • Github release or tag monitoring.
  • Arch Official Repository (AOR) monitoring.
  • Arch User Repository (AUR) monitoring.
  • Support for trigger (create release) or notify (email) actions.
  • Email notification.
  • Kodi notification.

Windows Installation: Not supported

Linux Installation:

Configuration:

site_list = [{'source_site_name': '<github|aor|aur>', 'source_repo_name': '<repo_name>', 'source_app_name': '<app_name>', 'source_query_type': 'release|tag', 'target_repo_name': '<repo_name>', 'action': '<notify|trigger>'}]

Usage:

./lib/pex/TriggerDockerBuild.pex ./TriggerDockerBuild.py --daemon

Future:

  • Use Beautiful Soup to also web scrape for non API sites.

Known Issues:

  • TBA

If you appreciate my work, then please consider buying me a beer :D

PayPal donation

About

Python script to monitor remote sites for version changes and trigger Docker image builds

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages