add Makefile for docker files [ci skip] [circleci skip]

This commit is contained in:
Anton Kaliaev 2017-02-15 00:57:54 +04:00
parent a756a9feba
commit 6b499e2a8b
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 15 additions and 0 deletions

15
DOCKER/Makefile Normal file
View File

@ -0,0 +1,15 @@
build:
# TAG=0.8.0 TAG_NO_PATCH=0.8
docker build -t "tendermint/tendermint" -t "tendermint/tendermint:$TAG" -t "tendermint/tendermint:$TAG_NO_PATCH" .
push:
# TAG=0.8.0 TAG_NO_PATCH=0.8
docker push "tendermint/tendermint" "tendermint/tendermint:$TAG" "tendermint/tendermint:$TAG_NO_PATCH"
build_develop:
docker build -t "tendermint/tendermint:develop" -f Dockerfile.develop .
push_develop:
docker push "tendermint/tendermint:develop"
.PHONY: build build_develop push push_develop