ci: try azure pipelines
This commit is contained in:
		
							parent
							
								
									b14f4717af
								
							
						
					
					
						commit
						2fb505feea
					
				
							
								
								
									
										17
									
								
								azure-pipelines.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								azure-pipelines.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,17 @@ | |||||||
|  | # Docker image | ||||||
|  | # Build a Docker image to deploy, run, or push to a container registry. | ||||||
|  | # Add steps that use Docker Compose, tag images, push to a registry, run an image, and more: | ||||||
|  | # https://docs.microsoft.com/azure/devops/pipelines/languages/docker | ||||||
|  | 
 | ||||||
|  | trigger: | ||||||
|  | - master | ||||||
|  | 
 | ||||||
|  | pool: | ||||||
|  |   vmImage: 'Ubuntu-16.04' | ||||||
|  | 
 | ||||||
|  | variables: | ||||||
|  |   imageName: 'your-container-image-name:$(build.buildId)' | ||||||
|  | 
 | ||||||
|  | steps: | ||||||
|  | - script: docker build -f Dockerfile -t $(imageName) . | ||||||
|  |   displayName: 'docker build' | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user