Commit Graph

4 Commits (8fb9001a2c866a6796c8a34f3e7bb9d2d99ddb6a)

Author SHA1 Message Date
dependabot[bot] 4b43f47305
Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 05:04:12 +00:00
陳鈞 627ebaf6f3
ci(docker): removed the `github.sha` tag from the docker publish workflow
- Removed the `github.sha` tag from the docker publish workflow file.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:40 +08:00
陳鈞 b7ca252a84
ci(docker): refine Docker workflow and image configuration
- 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>
2024-04-26 01:09:40 +08:00
陳鈞 1197293d05
ci(docker): add docker CI again
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>
2024-04-26 01:09:40 +08:00