Didstopia / starbound-server

Provides a dedicated linux server for Starbound running inside a Docker container.
29 stars 12 forks source link

Automatically update Docker images #6

Closed fpiesche closed 2 years ago

fpiesche commented 2 years ago

This change is twofold:

For the CI workflow to function, the repository will need three secrets set:

I'm using this workflow with minimal changes widely across my own Docker image repositories, hence the configurability - you'll notice some commented-out steps and variables that would allow building of multi-arch images which don't apply here since Steam and Starbound are only available on x86, but I'm e.g. using the workflow in its full form to build multi-arch ioquake3 server images.

Dids commented 2 years ago

Looks good to me, thank you!

Regarding the push to Docker Hub, technically automatic builds are already enabled on there, so it will build a new image on changes to this repo and the base image, but it's not like it hurts to push them here as well and have ghcr.io as an alternative.