Skip to content

Commit c5597fb

Browse files
committed
修复Docker镜像标签:自动推送latest-cpu/latest-gpu标签
1 parent d2d8ad4 commit c5597fb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
type=ref,event=pr,suffix=-${{ matrix.build_type }}
7070
type=semver,pattern={{version}},suffix=-${{ matrix.build_type }}
7171
type=semver,pattern={{major}}.{{minor}},suffix=-${{ matrix.build_type }}
72-
type=raw,value=latest-${{ matrix.build_type }},enable={{is_default_branch}}
72+
type=raw,value=latest-${{ matrix.build_type }}
7373
flavor: |
7474
latest=false
7575

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@
101101
#### 方式三:Docker 部署(实验性)
102102

103103
**镜像地址**
104-
- CPU 版本:`hgmzhn/manga-translator:latest-cpu`
105-
- GPU 版本:`hgmzhn/manga-translator:latest-gpu`
104+
- CPU 版本:`hgmzhn/manga-translator:1.9.2-cpu`
105+
- GPU 版本:`hgmzhn/manga-translator:1.9.2-gpu`
106+
- 或使用 `latest-cpu` / `latest-gpu` 获取最新版本
106107

107108
**访问地址**(默认端口 8000):
108109
- 🌐 用户界面:`http://localhost:8000`

0 commit comments

Comments
 (0)