Skip to content

Commit 839d7c7

Browse files
feat: update Docker workflows to use 'latest_tiny' tag for tiny images and adjust documentation accordingly
1 parent 291dedd commit 839d7c7

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/docker-build-tiny.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
required: false
1919
type: string
2020
push_latest:
21-
description: "Also publish tiny"
21+
description: "Also publish latest_tiny"
2222
required: false
2323
default: true
2424
type: boolean
@@ -67,15 +67,15 @@ jobs:
6767
6868
- name: Build tiny Docker image
6969
run: |
70-
docker build --target tiny -t $IMAGE_NAME:tiny .
70+
docker build --target tiny -t $IMAGE_NAME:latest_tiny .
7171
if [[ -n "$VERSION" ]]; then
72-
docker tag $IMAGE_NAME:tiny $IMAGE_NAME:${VERSION}_tiny
72+
docker tag $IMAGE_NAME:latest_tiny $IMAGE_NAME:${VERSION}_tiny
7373
fi
7474
7575
- name: Push tiny Docker image
7676
run: |
7777
if [[ "${{ github.event_name }}" != "workflow_dispatch" || "${{ inputs.push_latest }}" == "true" ]]; then
78-
docker push $IMAGE_NAME:tiny
78+
docker push $IMAGE_NAME:latest_tiny
7979
fi
8080
if [[ -n "$VERSION" ]]; then
8181
docker push $IMAGE_NAME:${VERSION}_tiny

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ task release
267267
- Improved the UI Stream tab so Stop cancels active streams cooperatively and starting a new stream clears stale audio before using the latest text.
268268
- Added a persistent Docker Hugging Face cache volume for task-run containers, with `task nuke` removing it for from-scratch validation.
269269
- Added a separate tiny Docker image target and task workflow for cache-volume-based model downloads while keeping the normal image fully baked for offline use.
270-
- Updated Docker publish workflows for separate full (`vX.Y`/`latest`) and tiny (`vX.Y_tiny`/`tiny`) image tracks, explicit `hangrylabs/kokorotts` publishing, and manual release dispatch with a selected checkout ref.
270+
- Updated Docker publish workflows for separate full (`vX.Y`/`latest`) and tiny (`vX.Y_tiny`/`latest_tiny`) image tracks, explicit `hangrylabs/kokorotts` publishing, and manual release dispatch with a selected checkout ref.
271271
- Removed unnecessary caution callouts from public docs and the Stream tab for a cleaner product-facing experience.
272272

273273
### v0.2

docs/dockerhub.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ The tiny image is smaller, but it downloads model and voice files after startup
6161
docker run -p 7860:7860 --gpus all hangrylabs/kokorotts:latest
6262
docker run -p 7860:7860 hangrylabs/kokorotts:latest
6363
docker run -p 7860:7860 --gpus "device=1" -e CUDA_VISIBLE_DEVICES=1 hangrylabs/kokorotts:latest
64-
docker run -p 7860:7860 --gpus all -v kokorotts_hf_cache:/app/.cache/huggingface hangrylabs/kokorotts:tiny
64+
docker run -p 7860:7860 --gpus all -v kokorotts_hf_cache:/app/.cache/huggingface hangrylabs/kokorotts:latest_tiny
6565
```
6666

67-
Use the stable version tag when you want repeatable deployments. Use `latest` when you want the newest published full image, and `tiny` when you want the newest published tiny image.
67+
Use the stable version tag when you want repeatable deployments. Use `latest` when you want the newest published full image, and `latest_tiny` when you want the newest published tiny image.
6868

6969
Then open:
7070

0 commit comments

Comments
 (0)