ingress-nginx-helm/controllers/gce/Makefile
2016-08-10 14:09:08 -07:00

17 lines
335 B
Makefile

all: push
# 0.0 shouldn't clobber any released builds
TAG = 0.7.1
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