ingress-nginx-helm/controllers/gce/Makefile

18 lines
335 B
Makefile
Raw Normal View History

2016-02-21 16:13:08 -08:00
all: push
# 0.0 shouldn't clobber any released builds
2016-06-21 13:31:41 -07:00
TAG = 0.7.0
2016-02-21 16:13:08 -08: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