mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 02:17:01 +00:00
chore: update makefile to use go1.16
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
affc63bb18
commit
892b3807fe
1 changed files with 3 additions and 3 deletions
4
Makefile
4
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/ ./...
|
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-test:
|
||||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.14 make 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-build-static:
|
docker-build-static:
|
||||||
docker run -t -v $$PWD:/go/src/github.com/yannh/kubeconform -w /go/src/github.com/yannh/kubeconform golang:1.14 make 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
|
||||||
|
|
||||||
build-bats:
|
build-bats:
|
||||||
docker build -t bats -f Dockerfile.bats .
|
docker build -t bats -f Dockerfile.bats .
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue