Add make target to build docker image
This commit is contained in:
@@ -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}
|
goreleaser build --clean --snapshot -p 2 --single-target --id navidrome_${GOOS}_${GOARCH}
|
||||||
.PHONY: single
|
.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:
|
warning-noui-build:
|
||||||
@echo "WARNING: This command does not build the frontend, it uses the latest built with 'make buildjs'"
|
@echo "WARNING: This command does not build the frontend, it uses the latest built with 'make buildjs'"
|
||||||
.PHONY: warning-noui-build
|
.PHONY: warning-noui-build
|
||||||
|
|||||||
Reference in New Issue
Block a user