Skip to content

Commit

Permalink
Merge pull request #1 from sharifelgamal/master
Browse files Browse the repository at this point in the history
add versioning and tag v0.0.1
  • Loading branch information
sharifelgamal authored Jul 28, 2020
2 parents 106703a + 56152c7 commit 43968e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
REGISTRY?=gcr.io/k8s-minikube
VERSION=v0.0.1

build:
CGO_ENABLED=0 GOOS=linux go build -o out/gcp-auth-webhook -ldflags=$(PROVISIONER_LDFLAGS) server.go

.PHONY: image
image: build
docker build -t $(REGISTRY)/gcp-auth-webhook -f Dockerfile ./out
docker build -t $(REGISTRY)/gcp-auth-webhook:$(VERSION) -f Dockerfile ./out


.PHONY: push
push: image
docker push $(REGISTRY)/gcp-auth-webhook
docker push $(REGISTRY)/gcp-auth-webhook:$(VERSION)

0 comments on commit 43968e8

Please sign in to comment.