diff --git a/Makefile b/Makefile index c1c32b59..7ec5df72 100644 --- a/Makefile +++ b/Makefile @@ -111,6 +111,12 @@ single: warning-noui-build ##@Cross_Compilation Build binaries for a single supp goreleaser build --clean --snapshot -p 2 --single-target --id navidrome_${GOOS}_${GOARCH} .PHONY: single +docker: buildjs ##@Build Build Docker linux/amd64 image (tagged as `deluan/navidrome:develop`) + GOOS=linux GOARCH=amd64 make single + @echo "Building Docker image" + docker build . --platform linux/amd64 -t deluan/navidrome:develop -f .github/workflows/pipeline.dockerfile +.PHONY: docker + warning-noui-build: @echo "WARNING: This command does not build the frontend, it uses the latest built with 'make buildjs'" .PHONY: warning-noui-build