Skip to content

Commit

Permalink
Exclude running docker build on cron tasks (go-gitea#14778)
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Feb 23, 2021
1 parent 6c012b7 commit 428d0ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,9 @@ trigger:
ref:
- refs/heads/master
- "refs/tags/**"
event:
exclude:
- cron

steps:
- name: fetch-tags
Expand Down Expand Up @@ -833,6 +836,10 @@ trigger:
ref:
- refs/heads/master
- "refs/tags/**"
event:
exclude:
- cron

steps:
- name: fetch-tags
image: docker:git
Expand Down Expand Up @@ -917,6 +924,9 @@ trigger:
ref:
- refs/heads/master
- "refs/tags/**"
event:
exclude:
- cron

depends_on:
- docker-linux-amd64-release
Expand Down

0 comments on commit 428d0ed

Please sign in to comment.