ingress-nginx-helm/controllers/gce/Makefile

18 lines
345 B
Makefile
Raw Normal View History

2016-02-22 00:13:08 +00:00
all: push
# 0.0 shouldn't clobber any released builds
2017-02-08 23:14:19 +00:00
TAG = 0.9.1
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 --pull -t $(PREFIX):$(TAG) .
2016-02-22 00:13:08 +00:00
push: container
2017-02-16 22:49:35 +00:00
gcloud docker -- push $(PREFIX):$(TAG)
2016-02-22 00:13:08 +00:00
clean:
rm -f glbc