mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-02-14 18:09:57 +00:00
19 lines
500 B
Makefile
19 lines
500 B
Makefile
all: push
|
|
|
|
# See pod.yaml for the version currently running-- bump this ahead before rebuilding!
|
|
TAG = v0.1
|
|
|
|
PROJ = google_containers
|
|
|
|
node-problem-detector: node_problem_detector.go
|
|
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' -o node-problem-detector
|
|
|
|
container: node-problem-detector
|
|
docker build -t gcr.io/$(PROJ)/node-problem-detector:$(TAG) .
|
|
|
|
push: container
|
|
gcloud docker push gcr.io/$(PROJ)/node-problem-detector:$(TAG)
|
|
|
|
clean:
|
|
rm -f node-problem-detector
|