Add CI
This commit is contained in:
		
							
								
								
									
										23
									
								
								build/ci/drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								build/ci/drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
kind: pipeline
 | 
			
		||||
name: main
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: compile
 | 
			
		||||
    image: elixir:1.11
 | 
			
		||||
    commands:
 | 
			
		||||
      - mix local.hex --force
 | 
			
		||||
      - mix local.rebar --force
 | 
			
		||||
      - mix deps.get
 | 
			
		||||
      - mix compile
 | 
			
		||||
 | 
			
		||||
  - name: docker
 | 
			
		||||
    image: plugins/docker
 | 
			
		||||
    settings:
 | 
			
		||||
      username:
 | 
			
		||||
        from_secret: docker_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: docker_password
 | 
			
		||||
      repo: papey/confient
 | 
			
		||||
      build_args:
 | 
			
		||||
        - REVISION=$$CI_COMMIT
 | 
			
		||||
        - RELEASE_TAG=$$CI_TAG
 | 
			
		||||
		Reference in New Issue
	
	Block a user