12 lines
345 B
Makefile
12 lines
345 B
Makefile
TAG ?= $(shell git describe --tags --always --dirty)
|
|
REGISTRY ?= kubeflownotebookswg
|
|
|
|
docker-build-base:
|
|
make docker-build -C ../base TAG=${TAG}
|
|
|
|
docker-build: docker-build-base
|
|
docker build -t ${REGISTRY}/codeserver:${TAG} --build-arg BASE_IMG=${REGISTRY}/base:${TAG} -f Dockerfile .
|
|
|
|
docker-push:
|
|
docker push ${REGISTRY}/codeserver:${TAG}
|