Skip to content

Commit

Permalink
makefile supports testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcderr committed Aug 23, 2016
1 parent f543f65 commit ceed230
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ceed230

Please sign in to comment.