ci: don't build/publish images on feature branch pushes

branches-ignore '*' does not match branch names containing '/', so
pushing cursor/... branches ran the Docker job and overwrote :latest.
Tag pushes and pull_request runs are unchanged.

Co-authored-by: qaiu <[email protected]>
This commit is contained in:
Cursor Agentandqaiu committed 2026-11-25 00:56:30 +00:00
1 parent b5a0155dd0
commit 6ed8ae2e28
1 file changed
+2 -1
+2 -1
View File
@@ -9,8 +9,9 @@ on:
push:
tags:
- 'v*'
# '*' 不匹配含 / 的分支名(如 cursor/xxx),会让功能分支推送也发布 :latest 镜像
branches-ignore:
- '*'
- '**'
paths-ignore:
- 'bin/**'
- '.github/**'