Add ability to build tagged images.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -18,7 +18,7 @@ steps: | ||||
|     commands: | ||||
|       - go test ./... | ||||
|  | ||||
|   - name: docker | ||||
|   - name: build master image | ||||
|     image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0 | ||||
|     when: | ||||
|       branch: ["master"] | ||||
| @@ -29,3 +29,15 @@ steps: | ||||
|         from_secret: drone_secret | ||||
|       repo: code.pztrn.name/apps/metricator | ||||
|       auto_tag: true | ||||
|  | ||||
|   - name: build tagged image | ||||
|     image: code.pztrn.name/containers/mirror/plugins/docker:20.13.0 | ||||
|     when: | ||||
|       event: ["tag"] | ||||
|     settings: | ||||
|       registry: code.pztrn.name | ||||
|       username: drone | ||||
|       password: | ||||
|         from_secret: drone_secret | ||||
|       repo: code.pztrn.name/apps/metricator | ||||
|       auto_tag: true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user