cicd: add docker service
This commit is contained in:
		
							parent
							
								
									3267e79867
								
							
						
					
					
						commit
						ead83dd02f
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -11,9 +11,17 @@ volumes:
 | 
			
		|||
  host:
 | 
			
		||||
    path: /var/run/docker.sock
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  - name: docker
 | 
			
		||||
    image: docker:dind
 | 
			
		||||
    privileged: true
 | 
			
		||||
    volumes:
 | 
			
		||||
      - name: dockersock
 | 
			
		||||
        path: /var/run/docker.sock
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: setup_image
 | 
			
		||||
    image: docker:dind
 | 
			
		||||
    image: docker
 | 
			
		||||
    volumes:
 | 
			
		||||
    - name: dockersock
 | 
			
		||||
      path: /var/run/docker.sock
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue