From b4f2e9111216fe8dd57c2fbffc6d469517014ff4 Mon Sep 17 00:00:00 2001 From: Lars Haugan Date: Mon, 20 Nov 2023 10:30:27 +0100 Subject: [PATCH] Use latest golang versions Signed-off-by: Lars Haugan --- Makefile | 4 ++-- build.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f2ccf5de..c5759378 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ .PHONY: all build VERSION ?= 0.8 -GO_VERSION := 1.19.1 -GOLANGCI_LINT_VERSION := v1.49.0 +GO_VERSION := 1.21.4 +GOLANGCI_LINT_VERSION := v1.55.2 REPO := openpolicyagent/opa-docker-authz-v2 all: build diff --git a/build.sh b/build.sh index 894ff9f9..27c44b4d 100755 --- a/build.sh +++ b/build.sh @@ -10,6 +10,7 @@ echo "Building opa-docker-authz version: $VERSION (OPA version: $OPA_VERSION)" echo -e "\nBuilding opa-docker-authz ..." CGO_ENABLED=0 go build -ldflags \ "-X github.com/open-policy-agent/opa-docker-authz/version.Version=$VERSION -X github.com/open-policy-agent/opa-docker-authz/version.OPAVersion=$OPA_VERSION" \ + -buildvcs=false \ -o opa-docker-authz echo -e "\n... done!"