Publish container image on release #154
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds a new Github Actions workflow that builds and publishes a multi-platform container image every time a new release is published.
It looks like there was a previous attempt to do this in #133 but its been stale since 2023 so I'm picking this up again in a new PR. I've deviated a bit from that previous PR, primarily that this PR doesn't have an Entrypoint script which sets up a config.json file from environment variables.
Why?
I currently host my 7DTD server on a Kubernetes cluster using https://github.com/vinanrra/Docker-7DaysToDie to manage my dedicated server. I'd love to be able to use this bot to send messages to my discord server but find it hard to set it up alongside my server when it doesn't have a container image that I can run.
Closes #133