mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-02 17:54:00 +00:00
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:
1 file changed
+2
-1
@@ -9,8 +9,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
# '*' 不匹配含 / 的分支名(如 cursor/xxx),会让功能分支推送也发布 :latest 镜像
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- '*'
|
- '**'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'bin/**'
|
- 'bin/**'
|
||||||
- '.github/**'
|
- '.github/**'
|
||||||
|
|||||||
Reference in new issue
Block a user