How to maintain a custom version of Ghost

Hey :wave:
So, I donโ€™t know why Ghost developers are ignoring this topic. :roll_eyes: But I want to implement the following middleware :point_down:

Which would minify the output of Ghost in production while beautifying the output for development. In the past, there has been a thread regarding the project which seems to be ignored by people. So, at this point, I am thinking to implement this middleware on my own.

But the question is, how do I trigger a CI/CD pipeline using GitHub Actions when a new version of Ghost is released? This should keep the custom docker image updated evenly with the mainline Ghost.

Thank you :smiley: