diff --git a/Makefile b/Makefile index b241853..ab96df7 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ -TAG=$(shell git describe --tags --abbrev=0 | tr -d v) +TAG ?= $(shell git describe --tags --abbrev=0 | tr -d v) +PLATFORMS ?= "linux/amd64,linux/arm64" .PHONY: build push setup build: docker buildx build \ - --platform linux/amd64,linux/arm64 \ + --platform $(PLATFORMS) \ --builder=appsignal-container \ --load \ --tag appsignal/appsignal-kubernetes:$(TAG) \