Pipiline for docker build

This commit is contained in:
2025-10-04 05:08:49 +00:00
parent a2727d3f5d
commit e3396231b3
3 changed files with 4617 additions and 0 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
.PHONY: build-production
build-production: ## Build the production docker image.
@docker buildx build \
--platform linux/amd64,linux/arm64/v8 \
--tag registry.tanshu.com/mozimo:latest \
$(if $(TAG),--tag registry.tanshu.com/mozimo:$(TAG)) \
--push \
git@github.com:tanshu/mozimo.git