diff --git a/Makefile b/Makefile index ec675a3186..89c6ae8707 100644 --- a/Makefile +++ b/Makefile @@ -118,11 +118,15 @@ web: source .image.env && ${MAKE} -C web build-kotsadm .PHONY: build-ttl.sh +build-ttl.sh: export GOOS ?= $(OS) +build-ttl.sh: export GOARCH ?= $(ARCH) build-ttl.sh: web kots build docker build --platform $(OS)/$(ARCH) -f dev/dockerfiles/kotsadm/Dockerfile.ttlsh -t ttl.sh/${CURRENT_USER}/kotsadm:24h . docker push ttl.sh/${CURRENT_USER}/kotsadm:24h .PHONY: all-ttl.sh +all-ttl.sh: export GOOS ?= $(OS) +all-ttl.sh: export GOARCH ?= $(ARCH) all-ttl.sh: build-ttl.sh source .image.env && \ IMAGE=ttl.sh/${CURRENT_USER}/kotsadm-migrations:24h \