Signed-off-by: Olivier 'reivilibre <olivier@librepush.net>
This commit is contained in:
		
						commit
						b8e9e26e89
					
				
							
								
								
									
										24
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					platform:
 | 
				
			||||||
 | 
					  os: linux
 | 
				
			||||||
 | 
					  arch: arm64
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					  - name: build
 | 
				
			||||||
 | 
					    image: golang:1.14.4-alpine3.12
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - sh build.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  - name: docker
 | 
				
			||||||
 | 
					    image: plugins/docker
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      username:
 | 
				
			||||||
 | 
					        from_secret: DOCKER_REGISTRY_USERNAME
 | 
				
			||||||
 | 
					      password:
 | 
				
			||||||
 | 
					        from_secret: DOCKER_REGISTRY_PASSWORD
 | 
				
			||||||
 | 
					      repo: docker.bics.ga/reivilibre/drone-cache
 | 
				
			||||||
 | 
					      registry: docker.bics.ga
 | 
				
			||||||
 | 
					      tags: # TODO add more tags if we need them.
 | 
				
			||||||
 | 
					        - latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user