We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 106703a + 56152c7 commit 43968e8Copy full SHA for 43968e8
Makefile
@@ -1,14 +1,15 @@
1
REGISTRY?=gcr.io/k8s-minikube
2
+VERSION=v0.0.1
3
4
build:
5
CGO_ENABLED=0 GOOS=linux go build -o out/gcp-auth-webhook -ldflags=$(PROVISIONER_LDFLAGS) server.go
6
7
.PHONY: image
8
image: build
- docker build -t $(REGISTRY)/gcp-auth-webhook -f Dockerfile ./out
9
+ docker build -t $(REGISTRY)/gcp-auth-webhook:$(VERSION) -f Dockerfile ./out
10
11
12
.PHONY: push
13
push: image
- docker push $(REGISTRY)/gcp-auth-webhook
14
+ docker push $(REGISTRY)/gcp-auth-webhook:$(VERSION)
15
0 commit comments