Skip to content

Commit 39e9287

Browse files
committed
Add Make targets that push to development clusters
1 parent edf8515 commit 39e9287

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ build: ## Build a postgres-operator image
141141
--label org.opencontainers.image.title='Crunchy PostgreSQL Operator' \
142142
.
143143

144+
build-k3d: image.tar ; $(or $(K3D),k3d) image import $<
145+
build-kind: image.tar ; $(or $(KIND),kind) load image-archive $<
146+
build-minikube: image.tar ; $(or $(MINIKUBE),minikube) image load $<
147+
148+
image.tar: build
149+
$(BUILDAH) push localhost/postgres-operator oci-archive:$@:localhost/postgres-operator:latest
150+
144151
##@ Test
145152

146153
.PHONY: check

0 commit comments

Comments
 (0)