Add docker helpers in Makefile

This commit is contained in:
Manfred Touron 2016-12-20 13:36:25 +01:00
parent 19ea337fa6
commit 15db6dce00

View File

@ -10,3 +10,11 @@ install:
test: build test: build
cd examples/dummy && make cd examples/dummy && make
cd examples/js-grpc && make cd examples/js-grpc && make
.PHONY: docker.build
docker.build:
docker build --pull -t moul/protoc-gen-gotemplate .
.PHONY: docker.push
docker.push: docker.build
docker push moul/protoc-gen-gotemplate