ingress-nginx-helm/controllers/gce/Makefile

18 lines
345 B
Makefile
Raw Normal View History

2016-02-21 16:13:08 -08:00
all: push
# 0.0 shouldn't clobber any released builds
2017-04-27 17:16:09 -07:00
TAG = 0.9.3
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 --pull -t $(PREFIX):$(TAG) .
2016-02-21 16:13:08 -08:00
push: container
2017-02-16 14:49:35 -08:00
gcloud docker -- push $(PREFIX):$(TAG)
2016-02-21 16:13:08 -08:00
clean:
rm -f glbc