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: |   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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue