[fix] bump go 1.18 & optional TAG definition in makefile

Signed-off-by: Quan TRAN <account@itscaro.me>
This commit is contained in:
Quan TRAN 2022-04-06 00:35:23 +02:00
parent 4247b97eb1
commit 03cbf5f9f4
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.18 as builder
FROM golang:1.18-alpine as builder
RUN apk add --no-cache make git
WORKDIR /workspace/helmfile

View File

@ -83,7 +83,7 @@ tools:
go get -u github.com/tcnksm/ghr github.com/mitchellh/gox
.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^)
BODY = "`git log ${LAST}..HEAD --oneline --decorate` `printf '\n\#\#\# [Build Info](${BUILD_URL})'`"