mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
feat: Build from source with versioned Docker tagging
This change introduces a comprehensive Docker build process and a GitHub Actions workflow to publish versioned images to Docker Hub. - A new `Dockerfile` builds the application from the local source code, ensuring any project modifications are included in the image. The build process is modeled after the `linuxserver/grocy` image for consistency. - The Docker image is configured to use Chinese (`zh_CN`) as the default language. - The GitHub Actions workflow in `.github/workflows/docker-publish.yml` is configured to: - Build and push the image automatically on pushes to the `master` branch. - Read the application version from `version.json`. - Generate semantic version tags for the Docker image (e.g., `latest`, `v4.5.0`, `v4.5`, `v4`). - The `README.md` has been updated with instructions for using the new custom-built Docker image.
This commit is contained in:
parent
46fda6922e
commit
d4e7e0b3c0