ingress-nginx-helm/controllers/gce/Makefile
2017-03-07 13:49:43 -08:00

17 lines
345 B
Makefile

all: push
# 0.0 shouldn't clobber any released builds
TAG = 0.9.2
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 --pull -t $(PREFIX):$(TAG) .
push: container
gcloud docker -- push $(PREFIX):$(TAG)
clean:
rm -f glbc