cicd: fix dockersock
This commit is contained in:
		
							parent
							
								
									cbcc23a710
								
							
						
					
					
						commit
						3b4efb286d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -25,6 +25,9 @@ services:
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
  - name: setup_image
 | 
					  - name: setup_image
 | 
				
			||||||
    image: docker:dind
 | 
					    image: docker:dind
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					    - name: dockersock
 | 
				
			||||||
 | 
					      path: /var/run
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
 | 
					      - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
 | 
				
			||||||
      - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
 | 
					      - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue