We currently have a production-ready Dockerfile and docker-compose.yml, but users have to build the image locally.
We should add a GitHub Actions workflow that automatically builds the Docker image and publishes it to the GitHub Container Registry (GHCR) whenever a new release tag (e.g., v*) is pushed to the repository.
Acceptance Criteria:
- Create a new workflow file
.github/workflows/docker.yml.
- Use
docker/build-push-action to build the image.
- Tag the image with
latest and the git tag version.
- Push to
ghcr.io/one-block-org/flashstat-server.
Good First Issue: This is a great task for someone experienced with GitHub Actions and Docker who wants to help improve the project's distribution pipeline.
We currently have a production-ready
Dockerfileanddocker-compose.yml, but users have to build the image locally.We should add a GitHub Actions workflow that automatically builds the Docker image and publishes it to the GitHub Container Registry (GHCR) whenever a new release tag (e.g.,
v*) is pushed to the repository.Acceptance Criteria:
.github/workflows/docker.yml.docker/build-push-actionto build the image.latestand the git tag version.ghcr.io/one-block-org/flashstat-server.Good First Issue: This is a great task for someone experienced with GitHub Actions and Docker who wants to help improve the project's distribution pipeline.