Skip to content

Commit 1fc8e43

Browse files
authored
Add import target for k3d image import
1 parent a4d0a34 commit 1fc8e43

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ push: ## Push to a Docker image registry
7474
$(info Logging into IBM Cloud cluster $(CLUSTER)...)
7575
docker push $(IMAGE)
7676

77+
.PHONY: import
78+
import: ## Import the image into the local K3D cluster
79+
$(info Importing $(IMAGE) into k3d cluster $(CLUSTER)...)
80+
k3d image import --cluster $(CLUSTER) $(IMAGE)
81+
7782
.PHONY: postgres
7883
postgres: ## Deploy the PostgreSQL service on local Kubernetes
7984
$(info Deploying PostgreSQL service to Kubernetes...)

0 commit comments

Comments
 (0)