File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 3030
3131    - name : build 
3232      run : make build 
33+       env :
34+         CGO_ENABLED : 0 
3335
3436    - name : create release 
3537      uses : actions/create-release@v1 
Original file line number Diff line number Diff line change 55GOOS  := linux
66GOARCH  := amd64
77LD_FLAGS  := -ldflags "-X main.Version=` git describe --tags ` ` date -u +%Y-%m-%d_%H:%M:%S ` ` git rev-parse HEAD ` 
8- DOCKER_IMAGE  := leocomelli/secrets-init:` git describe --tags |  cut -c2- ` 
98
109.PHONY : build
1110build :
2423test :
2524	@go test  ./... -v -race
2625
27- .PHONY : docker-build
28- docker-build :
29- 	@docker build -t $(DOCKER_IMAGE )  . 
30- 
31- release :
32- 	@make -s build docker-build
33- 	#  docker login
34- 	docker push $(DOCKER_IMAGE ) 
35- 
3626.PHONY : all
3727all :
3828	@make -s build bin test  lint
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments