Commit Graph

2 Commits

Author SHA1 Message Date
google-labs-jules[bot]
46fda6922e feat: Implement versioned Docker tagging
This change updates the GitHub Actions workflow to implement a versioned Docker tagging strategy, as requested.

- The workflow now reads the version from `version.json`.
- It generates semantic version tags (e.g., `v4.5.0`, `v4.5`, `v4`) for the Docker image, in addition to the `latest` tag.
- This makes the image tagging consistent with the practices of `linuxserver/grocy`.
2025-08-15 10:25:41 +00:00
google-labs-jules[bot]
2a6efff2e4 feat: Add Dockerfile and GitHub Actions for automated publishing
This change introduces a comprehensive Dockerfile and a GitHub Actions workflow to build and publish a custom Docker image from the project's source code.

- A new `Dockerfile` has been added. It builds the application from the local source, installing all necessary dependencies, ensuring that any modifications to the codebase are included in the final image. This approach is consistent with the build process of `linuxserver/grocy`.
- The Docker image is configured to use Chinese (`zh_CN`) as the default language via the `GROCY_DEFAULT_LOCALE` environment variable.
- A GitHub Actions workflow is added to `.github/workflows/docker-publish.yml`. It automates the process of building and publishing the image to `nishizhen/anticlockwisegrocy` on Docker Hub whenever a push is made to the `master` branch.
- The `README.md` has been updated to reflect the new Docker image and provide correct instructions for its use.
2025-08-15 10:18:31 +00:00