Skip to content

Commit 78b9bfe

Browse files
danehanscoolkp
authored andcommitted
Adds image-load and kind-load Make targets (kubernetes-sigs#288)
Signed-off-by: Daneyon Hansen <[email protected]>
1 parent 6f5b9e7 commit 78b9bfe

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ image-build: ## Build the EPP image using Docker Buildx.
167167
image-push: PUSH=--push ## Build the EPP image and push it to $IMAGE_REPO.
168168
image-push: image-build
169169

170+
.PHONY: image-load
171+
image-load: LOAD=--load ## Build the EPP image and load it in the local Docker registry.
172+
image-load: image-build
173+
174+
.PHONY: image-kind
175+
image-kind: image-build ## Build the EPP image and load it to kind cluster $KIND_CLUSTER ("kind" by default).
176+
kind load docker-image $(IMAGE_TAG) --name $(KIND_CLUSTER)
177+
170178
##@ Lora Syncer
171179

172180
.PHONY: syncer-image-local-build

0 commit comments

Comments
 (0)