cicd: add sleep for docker image
This commit is contained in:
		
							parent
							
								
									84c931ce47
								
							
						
					
					
						commit
						ec1344d0b5
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										10
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -31,6 +31,16 @@ steps:
 | 
				
			||||||
      - 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 .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: wait_for_image
 | 
				
			||||||
 | 
					    image: alpine
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - sleep 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: list_images
 | 
				
			||||||
 | 
					    image: docker:latest
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - docker images
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - name: setup_conan
 | 
					  - name: setup_conan
 | 
				
			||||||
    image: ubuntu_amd64 
 | 
					    image: ubuntu_amd64 
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue