Pleut / abiotic-factor-linux-docker

Docker container for an Abiotic Factor dedicated server using Wine
44 stars 10 forks source link

Refactor docker workflow #2

Closed JustTNE closed 4 months ago

JustTNE commented 4 months ago

This pull request changes quite a number of things. Primarily, GitHub Actions will build the container image and provide it for download on GHCR automatically, instead of having every user of this repository build it instead.

Additionally, cloning the repository is also no longer necessary, so this container can be used in a lot of other scenarios where that is not possible as well! Another upside is that compared to the current setup, any future game updates that trigger the auto update mechanism will actually be saved to disk compared to the standard behavior of docker-compose when docker-compose down is executed.

Pleut commented 4 months ago

Thank you for the changes! I'll add them to the repository. The only thing I'll adjust is the docker-compose file, because otherwise the image pull probably won't work due to the capitalization in the name.

JustTNE commented 4 months ago

Thank you! I missed that, unfortunately testing something like this is hard, because I do not have access to the final environment this will be building on after all.