mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-14 08:24:45 +00:00
build: bump to use go1.17
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
98c80939c1
commit
727f5fe57e
3 changed files with 8 additions and 6 deletions
6
Makefile
6
Makefile
|
|
@ -26,10 +26,10 @@ build-static:
|
|||
CGO_ENABLED=0 GOFLAGS=-mod=vendor GOOS=linux GOARCH=amd64 GO111MODULE=on go build -trimpath -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/ ./...
|
||||
|
||||
docker-test:
|
||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.16 make test
|
||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.17 make test
|
||||
|
||||
docker-build-static:
|
||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.16 make build-static
|
||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.17 make build-static
|
||||
|
||||
build-bats:
|
||||
docker build -t bats -f Dockerfile.bats .
|
||||
|
|
@ -43,4 +43,4 @@ release:
|
|||
|
||||
update-deps:
|
||||
go get -u ./...
|
||||
go mod tidy
|
||||
go mod tidy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue