notebooks/components/crud-web-apps/volumes/Makefile

16 lines
371 B
Makefile

IMG ?= gcr.io/arrikto-playground/kubeflow/volumes-web-app
TAG ?= $(shell git describe --tags)
DOCKERFILE=volumes/Dockerfile
docker-build:
cp Dockerfile.dockerignore ../.dockerignore
-cd ../ && docker build -t ${IMG}:${TAG} -f ${DOCKERFILE} .
rm ../.dockerignore
docker-push:
docker push $(IMG):$(TAG)
image: docker-build docker-push
@echo "Updated image ${IMG}"