serialboard/Makefile

14 lines
269 B
Makefile

DOCKER_REGISTRY ?= local
DOCKER_TAG ?= latest
.PHONY: all docker_build docker_push
all: docker_build
docker_build: serialboard.rb
docker build . -t ${DOCKER_REGISTRY}/serialboard:${DOCKER_TAG}
docker_push:
docker push ${DOCKER_REGISTRY}/serialboard${DOCKER_TAG}