👷 ci(github-actions): 修改构建触发条件
- 将 push 到 master 分支触发改为推送版本标签 (v*) 时触发 - 保留 pull_request 触发条件
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -1,7 +1,8 @@
|
||||
name: Virtual Kubelet Docker Build and Deploy
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user