You've already forked build-image
Initial Commit
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# VERSION
|
||||
# If no version is specified as a parameter of make, the value latest
|
||||
# is taken.
|
||||
VERSION?=latest
|
||||
|
||||
# DOCKER_USER
|
||||
DOCKER_USER:=volkerraschek
|
||||
|
||||
build:
|
||||
docker build \
|
||||
--no-cache \
|
||||
--tag ${DOCKER_USER}/build-image:${VERSION} \
|
||||
.
|
||||
|
||||
push: build
|
||||
docker login --username ${DOCKER_USER} --password ${DOCKER_PASSWORD}
|
||||
docker push ${DOCKER_USER}/build-image:${VERSION}
|
Reference in New Issue
Block a user