This commit is contained in:
		
						commit
						a8fe9322ab
					
				
							
								
								
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: build docker image
 | 
			
		||||
    image: plugins/docker
 | 
			
		||||
    environment:
 | 
			
		||||
      DOCKER_BUILDKIT: '1'
 | 
			
		||||
    settings:
 | 
			
		||||
      purge: true
 | 
			
		||||
      repo: otakukaze/golang-base-image
 | 
			
		||||
      tags:
 | 
			
		||||
        - "${DRONE_BRANCH}"
 | 
			
		||||
    when:
 | 
			
		||||
      ref:
 | 
			
		||||
        - refs/heads/1-alpine
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
ARG IMG_TAG=1-alpine
 | 
			
		||||
FROM golang:${IMG_TAG}
 | 
			
		||||
RUN apk add --no-cache git make gcc libc-dev \
 | 
			
		||||
  && go get -u github.com/go-bindata/go-bindata/... \
 | 
			
		||||
  && go get -u github.com/go-swagger/go-swagger/...
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user