mirror of
https://github.com/sourcey/spectacle.git
synced 2024-10-03 16:38:44 +03:00
13 lines
266 B
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}
|