Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ARM
k8s
Kured
Commits
c42fff30
Commit
c42fff30
authored
Jun 05, 2018
by
Adam Harrison
Browse files
Create a :latest tag on build to push to minikube
parent
aefc4ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c42fff30
...
...
@@ -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
quay.io/
$(DH_ORG)
/kured:
$(VERSION)
-f
build/Dockerfile ./build
$(SUDO)
docker build
-t
quay.io/
$(DH_ORG)
/kured
-f
build/Dockerfile ./build
$(SUDO)
docker tag quay.io/
$(DH_ORG)
/kured quay.io/
$(DH_ORG)
/kured:
$(VERSION)
touch
$@
image
:
build/.image.done
...
...
@@ -32,4 +33,4 @@ publish-image: image
$(SUDO)
docker push quay.io/
$(DH_ORG)
/kured:
$(VERSION)
minikube-publish
:
image
$(SUDO)
docker save quay.io/
$(DH_ORG)
/kured
:
$(VERSION)
|
(
eval
$$
(
minikube docker-env
)
&&
docker load
)
$(SUDO)
docker save quay.io/
$(DH_ORG)
/kured |
(
eval
$$
(
minikube docker-env
)
&&
docker load
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment