Hook updates
Closed this issue · 2 comments
@timothymamo i see your repo regularly updates the supabase image. What hooks are you using to do this? Have you got a nightly action?
Hey @SteveChurch unfortunately nothing that fancy. I've got a watch on the docker directory within the supabase/supabse repo via GitHub File Watcher which notifies me whenever there is a change to any of the files, which I then manually update and push directly to main (I know, I know).
You could also use commit-hawk as an app in GitHub or RenovateBot or dependaBot to look for changes in docker dependencies. The bots could even auto merge for you if you're feeling lucky. Currently not using these bots as the versions in the docker-compose file are different to the latest being pushed in dockerhub and I want to keep as much parity as possible with what Supabase has in their repo.
I do have pre-commit hooks which formats files and updates terraform docs that runs every time I commit locally. If a change does happen I then have an alias in my terminal that commits with a standard message. alias ghooks='git add .; gcmsg "Adding changes by hooks"'
.
Hope this helps.
And there was me thinking you had something clever set up 😉 - I might use DependaBot, I've used both in the past but have nothing set up yet for this project.
Thanks for the feedback. 👍🏻