Skip to content

Commit 8ff015f

Browse files
committed
Update Makefile for v0.0.9
1 parent 3f63118 commit 8ff015f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
REGISTRY?=gcr.io/k8s-minikube
2-
VERSION=v0.0.8
2+
VERSION=v0.0.9
33
GOOS?=$(shell go env GOOS)
4+
GOARCH?=$(shell go env GOARCH)
5+
KO_VERSION=0.11.2
46

57
build: ## Build the gcp-auth-webhook binary
68
CGO_ENABLED=0 GOOS=linux go build -o out/gcp-auth-webhook server.go
79

810
.PHONY: image
911
image: ## Create and push multiarch manifest and images
1012
@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;
11-
curl -L https://github.com/google/ko/releases/download/v0.10.0/ko_0.10.0_$(GOOS)_x86_64.tar.gz | tar xzf - ko && chmod +x ./ko
13+
curl -L https://github.com/google/ko/releases/download/v$(KO_VERSION)/ko_$(KO_VERSION)_$(GOOS)_$(GOARCH).tar.gz | tar xzf - ko && chmod +x ./ko
1214
KO_DOCKER_REPO=$(REGISTRY) ./ko publish -B . --platform all -t $(VERSION)
1315
rm ./ko
1416

0 commit comments

Comments
 (0)