mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
ci: update Docker image tags to use 'latest' for CPU and UI versions
This commit is contained in:
parent
280291f2aa
commit
58a8030646
3 changed files with 15 additions and 15 deletions
22
.github/workflows/docker-publish.yml
vendored
22
.github/workflows/docker-publish.yml
vendored
|
@ -35,9 +35,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern=v{{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern=v{{major}}.{{minor}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern=v{{major}}
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
|
|
||||||
# Extract metadata for CPU image
|
# Extract metadata for CPU image
|
||||||
|
@ -49,10 +49,10 @@ jobs:
|
||||||
flavor: |
|
flavor: |
|
||||||
suffix=-cpu
|
suffix=-cpu
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern=v{{version}}-cpu
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern=v{{major}}.{{minor}}-cpu
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern=v{{major}}-cpu
|
||||||
type=raw,value=latest
|
type=raw,value=latest-cpu
|
||||||
|
|
||||||
# Build and push GPU version
|
# Build and push GPU version
|
||||||
- name: Build and push GPU Docker image
|
- name: Build and push GPU Docker image
|
||||||
|
@ -85,10 +85,10 @@ jobs:
|
||||||
flavor: |
|
flavor: |
|
||||||
suffix=-ui
|
suffix=-ui
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern=v{{version}}-ui
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern=v{{major}}.{{minor}}-ui
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern=v{{major}}-ui
|
||||||
type=raw,value=latest
|
type=raw,value=latest-ui
|
||||||
|
|
||||||
# Build and push UI version
|
# Build and push UI version
|
||||||
- name: Build and push UI Docker image
|
- name: Build and push UI Docker image
|
||||||
|
|
|
@ -26,7 +26,7 @@ services:
|
||||||
start_period: 1s
|
start_period: 1s
|
||||||
|
|
||||||
kokoro-tts:
|
kokoro-tts:
|
||||||
image: ghcr.io/remsky/kokoro-fastapi:v0.0.2-cpu
|
image: ghcr.io/remsky/kokoro-fastapi:latest-cpu
|
||||||
# Uncomment below to build from source instead of using the released image
|
# Uncomment below to build from source instead of using the released image
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
@ -51,7 +51,7 @@ services:
|
||||||
|
|
||||||
# Gradio UI service [Comment out everything below if you don't need it]
|
# Gradio UI service [Comment out everything below if you don't need it]
|
||||||
gradio-ui:
|
gradio-ui:
|
||||||
image: ghcr.io/remsky/kokoro-fastapi:v0.0.2-ui
|
image: ghcr.io/remsky/kokoro-fastapi:latest-ui
|
||||||
# Uncomment below to build from source instead of using the released image
|
# Uncomment below to build from source instead of using the released image
|
||||||
# build:
|
# build:
|
||||||
# context: ./ui
|
# context: ./ui
|
||||||
|
|
|
@ -26,7 +26,7 @@ services:
|
||||||
start_period: 1s
|
start_period: 1s
|
||||||
|
|
||||||
kokoro-tts:
|
kokoro-tts:
|
||||||
image: ghcr.io/remsky/kokoro-fastapi:v0.0.2
|
image: ghcr.io/remsky/kokoro-fastapi:latest
|
||||||
# Uncomment below to build from source instead of using the released image
|
# Uncomment below to build from source instead of using the released image
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
|
@ -50,7 +50,7 @@ services:
|
||||||
|
|
||||||
# Gradio UI service [Comment out everything below if you don't need it]
|
# Gradio UI service [Comment out everything below if you don't need it]
|
||||||
gradio-ui:
|
gradio-ui:
|
||||||
image: ghcr.io/remsky/kokoro-fastapi:v0.0.2-ui
|
image: ghcr.io/remsky/kokoro-fastapi:latest-ui
|
||||||
# Uncomment below to build from source instead of using the released image
|
# Uncomment below to build from source instead of using the released image
|
||||||
# build:
|
# build:
|
||||||
# context: ./ui
|
# context: ./ui
|
||||||
|
|
Loading…
Add table
Reference in a new issue