[fix] bump go 1.18 & optional TAG definition in makefile
Signed-off-by: Quan TRAN <account@itscaro.me>
This commit is contained in:
		
							parent
							
								
									4247b97eb1
								
							
						
					
					
						commit
						03cbf5f9f4
					
				|  | @ -1,4 +1,4 @@ | ||||||
| FROM golang:1.18 as builder | FROM golang:1.18-alpine as builder | ||||||
| 
 | 
 | ||||||
| RUN apk add --no-cache make git | RUN apk add --no-cache make git | ||||||
| WORKDIR /workspace/helmfile | WORKDIR /workspace/helmfile | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							|  | @ -83,7 +83,7 @@ tools: | ||||||
| 	go get -u github.com/tcnksm/ghr github.com/mitchellh/gox | 	go get -u github.com/tcnksm/ghr github.com/mitchellh/gox | ||||||
| .PHONY: tools | .PHONY: tools | ||||||
| 
 | 
 | ||||||
| TAG  = $(shell git describe --tags --abbrev=0 HEAD) | TAG  ?= $(shell git describe --tags --abbrev=0 HEAD) | ||||||
| LAST = $(shell git describe --tags --abbrev=0 HEAD^) | LAST = $(shell git describe --tags --abbrev=0 HEAD^) | ||||||
| BODY = "`git log ${LAST}..HEAD --oneline --decorate` `printf '\n\#\#\# [Build Info](${BUILD_URL})'`" | BODY = "`git log ${LAST}..HEAD --oneline --decorate` `printf '\n\#\#\# [Build Info](${BUILD_URL})'`" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue