You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
REGISTRY?=gcr.io/k8s-minikube
2
-
VERSION=v0.0.7
2
+
VERSION=v0.0.8
3
3
GOOS?=$(shell go env GOOS)
4
4
5
5
build: ## Build the gcp-auth-webhook binary
6
6
CGO_ENABLED=0 GOOS=linux go build -o out/gcp-auth-webhook server.go
7
7
8
8
.PHONY: image
9
9
image: ## Create and push multiarch manifest and images
10
+
@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;
10
11
curl -L https://github.com/google/ko/releases/download/v0.8.3/ko_0.8.3_$(GOOS)_x86_64.tar.gz | tar xzf - ko && chmod +x ./ko
11
12
KO_DOCKER_REPO=$(REGISTRY) ./ko publish -B . --platform all -t $(VERSION)
0 commit comments