🔧 更新 GitHub Actions Docker 工作流配置
- 扩展 Docker 工作流触发分支,支持 main 和 master 分支
This commit is contained in:
1 parent
b16fa400e1
commit
15685808fb
1 file changed
+2
-2
@@ -2,9 +2,9 @@ name: Docker Build and Push
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ main, master ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [ main, master ]
|
||||
|
||||
env:
|
||||
REGISTRY: docker.io
|
||||
|
||||
Reference in new issue
Block a user