cupsd-docker/Makefile
2019-05-26 21:16:19 +02:00

17 lines
358 B
Makefile

# VERSION
# If no version is specified as a parameter of make, the last git hash
# value is taken.
VERSION?=latest
# DOCKER_USER
DOCKER_USER?=volkerraschek
build:
docker build \
--tag ${DOCKER_USER}/cupsd:${VERSION} \
.
push: build
docker login --username ${DOCKER_USER} --password ${DOCKER_PASSWORD}
docker push ${DOCKER_USER}/cupsd:${VERSION}