Exclude running docker build on cron tasks (#14778)
This commit is contained in:
parent
6c012b7e49
commit
428d0edcb0
1 changed files with 10 additions and 0 deletions
10
.drone.yml
10
.drone.yml
|
@ -731,6 +731,9 @@ trigger:
|
|||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
event:
|
||||
exclude:
|
||||
- cron
|
||||
|
||||
steps:
|
||||
- name: fetch-tags
|
||||
|
@ -833,6 +836,10 @@ trigger:
|
|||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
event:
|
||||
exclude:
|
||||
- cron
|
||||
|
||||
steps:
|
||||
- name: fetch-tags
|
||||
image: docker:git
|
||||
|
@ -917,6 +924,9 @@ trigger:
|
|||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
event:
|
||||
exclude:
|
||||
- cron
|
||||
|
||||
depends_on:
|
||||
- docker-linux-amd64-release
|
||||
|
|
Reference in a new issue