aboutsummaryrefslogtreecommitdiff
path: root/smokeping_prober/Makefile
blob: 2f2de749cdfefc50559a37a3c8aac082d2821394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
VERSION=0.3.0
IMAGE=docker.crute.me/smokeping-prober:$(VERSION)
LATEST=$(subst :$(VERSION),,$(IMAGE)):latest

all:
	docker pull golang:latest
	docker pull alpine:latest
	docker build -t $(IMAGE) .

all-no-cache:
	docker build \
		--no-cache \
		-t $(IMAGE) .

publish:
	docker push $(IMAGE)
	docker tag $(IMAGE) $(LATEST)
	docker push $(LATEST)