Skip to content

Commit 5497f43

Browse files
authored
Merge pull request #29 from spowelljr/bumpVersion
Bump version
2 parents 9cc6a8a + 2be7130 commit 5497f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
REGISTRY?=gcr.io/k8s-minikube
2-
VERSION=v0.0.9
2+
VERSION=v0.0.10
33
GOOS?=$(shell go env GOOS)
44
GOARCH?=$(shell go env GOARCH)
55
ARCH=$(if $(findstring amd64, $(GOARCH)),x86_64,$(GOARCH))
@@ -12,7 +12,7 @@ build: ## Build the gcp-auth-webhook binary
1212
image: ## Create and push multiarch manifest and images
1313
@read -p "This will build and push $(REGISTRY)/gcp-auth-webhook:$(VERSION). Do you want to proceed? (Y/N): " confirm && echo $$confirm | grep -iq "^[yY]" || exit 1;
1414
curl -L https://github.com/google/ko/releases/download/v$(KO_VERSION)/ko_$(KO_VERSION)_$(GOOS)_$(ARCH).tar.gz | tar xzf - ko && chmod +x ./ko
15-
KO_DOCKER_REPO=$(REGISTRY) ./ko publish -B . --platform all -t $(VERSION)
15+
GOFLAGS="-ldflags=-X=main.Version=$(VERSION)" KO_DOCKER_REPO=$(REGISTRY) ./ko publish -B . --platform all -t $(VERSION)
1616
rm ./ko
1717

1818
.PHONY: local-image

0 commit comments

Comments
 (0)