- Modify the Docker publish workflow to only trigger on tag pushes that match the pattern `v*`, for instance, `v1.0.0`.
- Make the job run only on Ubuntu and tag commits.
- Enable submodules during checkout to pull all the data.
- Change Docker image name to `kohya-ss-gui`.
- Configure Docker metadata dynamically based on commit SHA and SemVer pattern.
- Set up QEMU, a generic and open source machine emulator and virtualizer, possibly for cross-platform docker image builds.
- Use `GITHUB_TOKEN` instead of `CR_PAT` for Docker login.
- Adjust the build arguments for Docker, including the version and the release number.
- Modify cache configuration to store in registry, rather than Github Action (gha) to avoid capacity limit.
- Enable software bill of materials (sbom) and provenance for better software supply chain and artifact traceability and verifiability.
Signed-off-by: 陳鈞 <jim60105@gmail.com>
Remove tensorboard reduce the docker image size from 17GB to 10GB.
This reduction enables the image to be built on the GitHub free runner.
Signed-off-by: 陳鈞 <jim60105@gmail.com>