From ceed230b724e5279aa5586ffc99e4bed984dc31e Mon Sep 17 00:00:00 2001 From: jcderr Date: Tue, 23 Aug 2016 16:30:33 -0500 Subject: [PATCH] makefile supports testing --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a696bf5..aa8fe8e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ all: build push +test: build pushtest build: - docker build -t jcderr/concourse-kubernetes-resource:latest . + docker build -t jcderr/concourse-kubernetes-resource:local . push: + docker tag jcderr/concourse-kubernetes-resource:local jcderr/concourse-kubernetes-resource:latest docker push jcderr/concourse-kubernetes-resource:latest + +pushtest: + docker tag jcderr/concourse-kubernetes-resource:local jcderr/concourse-kubernetes-resource:test + docker push jcderr/concourse-kubernetes-resource:test