• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle



  • Everything I tried was annoying to use and didn’t do what I wanted for some reason, so I just made my own. This took some time, but not as much as I expected.

    • I copy and pasted a GitHub Action from the official docs which generates a Docker image and publishes it to GitHub Packages.
    • On the server, I use Portainer’s “Stacks” (which are just Docker Compose files) for all programs and games, so I just added a new stack which uses my image from GitHub.
    • The server also has Watchtower installed on it (inside a container of course), which updates all containers, including the dashboard.
    • Portainer and Watchtower both share the same Docker configuration, so I only need to configure my GitHub access token in one place (e.g., Portainer’s UI).