Commit c42fff30 authored by Adam Harrison's avatar Adam Harrison
Browse files

Create a :latest tag on build to push to minikube

parent aefc4ea4
......@@ -23,7 +23,8 @@ cmd/kured/kured: cmd/kured/*.go
build/.image.done: cmd/kured/Dockerfile cmd/kured/kured
mkdir -p build
cp $^ build
$(SUDO) docker build -t$(DH_ORG)/kured:$(VERSION) -f build/Dockerfile ./build
$(SUDO) docker build -t$(DH_ORG)/kured -f build/Dockerfile ./build
$(SUDO) docker tag$(DH_ORG)/kured$(DH_ORG)/kured:$(VERSION)
touch $@
image: build/.image.done
......@@ -32,4 +33,4 @@ publish-image: image
$(SUDO) docker push$(DH_ORG)/kured:$(VERSION)
minikube-publish: image
$(SUDO) docker save$(DH_ORG)/kured:$(VERSION) | (eval $$(minikube docker-env) && docker load)
$(SUDO) docker save$(DH_ORG)/kured | (eval $$(minikube docker-env) && docker load)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment