1 year ago

#68247

test-img

Mr_President_White

Docker Container for Java Application with automated Updates from GitHub

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.

java

docker

github

containers

automated-deployment

0 Answers

Your Answer

Accepted video resources