fix: Only build docker image if needed
This commit is contained in:
		
							parent
							
								
									194af4059b
								
							
						
					
					
						commit
						38fc40828c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -28,6 +28,8 @@ build_image_for_commit:
 | 
				
			||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
  needs: []
 | 
					  needs: []
 | 
				
			||||||
  image: "docker:19.03.12"
 | 
					  image: "docker:19.03.12"
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - master
 | 
				
			||||||
  services:
 | 
					  services:
 | 
				
			||||||
    - name: docker:19.03.12-dind
 | 
					    - name: docker:19.03.12-dind
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue