mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 06:12:54 +00:00 
			
		
		
		
	Add .drone.yml
This commit is contained in:
		
							
								
								
									
										13
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					pipeline:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    image: eu.gcr.io/avatao-public/docker:el7
 | 
				
			||||||
 | 
					    volumes:
 | 
				
			||||||
 | 
					      - /etc/docker:/etc/docker:ro
 | 
				
			||||||
 | 
					      - /root/.docker:/root/.docker:ro
 | 
				
			||||||
 | 
					      - /var/run/docker.sock:/var/run/docker.sock:ro
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - docker build --pull -t eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG} .
 | 
				
			||||||
 | 
					      - docker push eu.gcr.io/avatao-challengestore/tutorial-framework:${DRONE_TAG}
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: 'tag'
 | 
				
			||||||
 | 
					      branch: refs/tags/egyptianmau-20*
 | 
				
			||||||
		Reference in New Issue
	
	Block a user