diff --git a/Makefile b/Makefile index 5ff9a3c..9512ca2 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION := $(shell git describe --always --dirty) + .PHONY: build build: npm install @@ -5,4 +7,9 @@ build: .PHONY: run run: - npm run start \ No newline at end of file + npm run start + +.PHONY: images +images: + docker buildx build --platform linux/arm/v7 -t musicqueue:$(VERSION)-armv7l . + docker buildx build --platform linux/amd64 -t musicqueue:$(VERSION)-amd64 .