Docker Container for Java Application with automated Updates from GitHub

143 views Asked by At

I'm looking for a docker container which can run a Java application. However, this should automatically pull updates from a GitHub repository. I had the following features in mind for a Workflow:

  • Watching on a (private) GitHub repo for merges in main
  • stopping active java app
  • Fetching the GitHub repo
  • building the Source Code (maven)
  • updating DB structure if needed
  • executing the new jar

Does something like this already exist or do I have to build it from scratch? I've been looking for a way to implement this workflow for my Java discord bot for so long and haven't found anything yet.

I would be very grateful for tips or similar.

0

There are 0 answers