To update a Docker image for use with GitHub Actions maintained in this repo, you must:
-
Assuming you have access to upload packages to the Mopidy organization at GitHub, you need to create a Personal Access Token (PAT) with the
write:packages
anddelete:packages
scopes. -
Login to the GitHub Container Registry using your local Docker CLI:
docker login ghcr.io -u my-github-username --password my-github-packages-pat
-
Bump the version number in the image directory's
VERSION
file. -
Do the desired changes to the
Dockerfile
. -
Run
make build
to build a new Docker image version locally. -
Test the image locally. Go back to step 4 if the results are not satisfactory.
-
Commit all your changes to Git.
-
Run
make release
to tag a new release in Git and Docker, to push the source changes to the GitHub repo, and the new Docker image to GitHub Container Registry.