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