simelo / repo-info-tools

Metadata generation (repo-info) for any public docker image
GNU General Public License v3.0
0 stars 2 forks source link

Implement Github bot for repo-info synchronization #3

Open olemis opened 5 years ago

olemis commented 5 years ago

It should work similar to snyk bot .

If possible language = python .

stdevPavelmc commented 5 years ago

In the research steps to this issue I see two ways of triggering the updates:

  1. Webhooks, it get triggered on any main repo update on Docker Hub (master branch) for all main docker images. (efficient and clean)
  2. Daily cron job, check if the info has changed on daily bases (crude & resource wasting)

Any of them need a permanent & defined VPS instance to run, or a docker instance with dind on it.

This two are basically mutually exclusive to avoid duplicate triggering. I will go in the Webhooks way as it's more versatile and must be reused.