spectacle/Makefile

13 lines
266 B
Makefile

NAME := sourcey/spectacle
VERSION := $$(git describe --tags `git rev-list --tags --max-count=1`)
build:
docker build -t ${NAME}:latest -t ${NAME}:v${VERSION} .
push:
@echo ${NAME}
@docker push ${NAME}
login:
@docker log -u ${DOCKER_USER} -p ${DOCKER_PASS}