This Project is the Git repo of the Valkey "Official Image"
The Project is now maintained by the Valkey Community and it was forked from docker-library/redis.
You should build and publish a new Docker Image after a new major, minor or patch version of Valkey is released on the main Valkey repository.
Pre-requisites: Fork this repo, create a private Docker Hub repo, and setup your GitHub secrets to access the private Docker Hub repo.
- Validate that the metadata for the new version is updated the Valkey hashes file. If it is not updated, please open an issue here
- If a new major or minor version is released, please create a new directory in the
valkey-container
repo. For example:7.2
. - Run the
update.sh
script locally which will updateversions.json
. It will also populate the Dockerfiles for the new versions in the respective directories. Running theupdate.sh
file executesversions.sh
which updatesversions.json
with the required metadata from the Valkey hashes file. Onceversions.json
is updated,apply-templates.sh
is executed which updates Dockerfiles for all the versions directories in the repo. For example7.2
. - Validate that the version and the info is populated correctly from the Valkey hashes file.
- Verify all the tests pass on your fork and that your private Docker Hub repository has been updated.
- Update the
dockerhub-description.md
with the updated tags in your private Docker Hub registry and the Dockerfile links. - Publish a PR with these changes. For example: #8
- Once the PR is merged, Sit back, relax and enjoy looking at your creation getting published to the official Docker Hub page.