forked from gitea/gitea
1
0
Fork 0

Exclude running docker build on cron tasks (#14778)

This commit is contained in:
techknowlogick 2021-02-22 22:55:35 -05:00 committed by GitHub
parent 6c012b7e49
commit 428d0edcb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -731,6 +731,9 @@ trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
steps: steps:
- name: fetch-tags - name: fetch-tags
@ -833,6 +836,10 @@ trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
steps: steps:
- name: fetch-tags - name: fetch-tags
image: docker:git image: docker:git
@ -917,6 +924,9 @@ trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/tags/**" - "refs/tags/**"
event:
exclude:
- cron
depends_on: depends_on:
- docker-linux-amd64-release - docker-linux-amd64-release