Skip to content

Commit 38b3eaa

Browse files
committed
fix(ci): make kind binary path resolution dynamic in Makefile
1 parent cc82394 commit 38b3eaa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
.PHONY: build clean lint test test-all build-test-runner docker-build docker-build-simple-email docker-build-send-email-link docker-push docker-push-simple-email docker-push-send-email-link
22

33
REGISTRY := ghcr.io/constructive-io/constructive-functions
4-
KIND_BIN ?= /opt/homebrew/bin/kind
4+
# Detect kind binary (search PATH, fallback to Homebrew)
5+
KIND_BIN := $(shell which kind)
6+
ifeq ($(KIND_BIN),)
7+
KIND_BIN := /opt/homebrew/bin/kind
8+
endif
59

610
SUBDIRS := functions/hello-world functions/simple-email functions/send-email-link functions/runtime-script
711

0 commit comments

Comments
 (0)