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.
Got another one for you!
This change makes the GitHub Actions workflow more readable by removing a bunch of the variables, and also fixes building and pushing Docker images - on my original PR this was simply using the GitHub repository owner as the repository name, but as your GitHub user name contains an upper-case D this was failing as Docker repository names must be all lowercase.
If you didn't do this after my previous PR, you will need to add a couple of secrets to this repo (at https://github.com/Didstopia/starbound-server/settings/secrets/actions):
GHCR_TOKEN
with its value set to a GitHub Personal Access Token for your account (you can create this at https://github.com/settings/tokens/new) with scope permissions set towrite:packages
(andread:packages
which is included in this). I would recommend setting it to never expire as otherwise you'll have to periodically update/re-create it for the workflow to continue working.DOCKERHUB_TOKEN
with its value set to a Docker Hub access token; you can create this at https://hub.docker.com/settings/security. The token will needread
andwrite
access in order to push new images.