Skip to content

Commit

Permalink
feat: add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
escalate committed Jan 24, 2018
1 parent 5424e1b commit cee3f8d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
REPO_PREFIX = escalate4u/ha-bridge
TAG = latest

.PHONY: build
build:
docker build \
--tag=$(REPO_PREFIX)-raspberrypi3:$(TAG) \
--build-arg DEVICE_NAME=raspberrypi3 \
--build-arg HA_BRIDGE_VERSION=5.1.0 \
.

.PHONY: publish
publish: build
docker push $(REPO_PREFIX)-raspberrypi3:$(TAG)

0 comments on commit cee3f8d

Please sign in to comment.