ingress-nginx-helm/controllers/gce/Makefile

18 lines
335 B
Makefile
Raw Normal View History

2016-02-22 00:13:08 +00:00
all: push
# 0.0 shouldn't clobber any released builds
2016-12-13 03:16:33 +00:00
TAG = 0.9.0
2016-02-22 00:13:08 +00:00
PREFIX = gcr.io/google_containers/glbc
server:
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o glbc *.go
container: server
docker build -t $(PREFIX):$(TAG) .
push: container
gcloud docker push $(PREFIX):$(TAG)
clean:
rm -f glbc