mirror of
https://github.com/sourcey/spectacle.git
synced 2024-09-11 13:45:23 +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}
|