ci: build Docker image only on version tags

Stop publishing on main push and remove GHCR; images go to Docker Hub only.
This commit is contained in:
O96u committed 2026-08-22 18:50:33 +08:00
1 parent 0d58d38d50
commit 80d2bca4e0
4 files changed
+4 -33

No files matched your search

-2
View File
@@ -4,8 +4,6 @@ services:
# 飞牛 Docker 对 Docker Hub 的「更新镜像」支持更好
image: muxui/pichost:latest
pull_policy: always
# 备用:GitHub Container Registry
# image: ghcr.io/O96u/pichost:latest
container_name: pichost
restart: unless-stopped
ports: