Moved to hatch vcs to improve oci container cacheing performance.

This commit is contained in:
2026-09-15 16:16:16 +00:00
parent d288523d4e
commit e06e077ebe
13 changed files with 55 additions and 89 deletions
+2 -11
View File
@@ -1,5 +1,5 @@
.PHONY: build-production
build-production: ## Build the production container image.
build-production: ## Build the production container image. Usage: make build-production TAG=15.4.0
@echo "Cloning repository..."
@rm -rf .tmp-brewman
@git clone --depth 1 $(if $(TAG),--branch v$(TAG)) git@git.tanshu.com:tanshu/brewman.git .tmp-brewman
@@ -18,7 +18,7 @@ build-production: ## Build the production container image.
$(if $(TAG),@podman manifest push --all registry.tanshu.com/brewman:latest docker://registry.tanshu.com/brewman:$(TAG))
.PHONY: build-check
build-check: ## Multi-arch build without push (compile check)
build-check: ## Multi-arch build without push (compile check). Usage: make build-check TAG=15.4.0
@echo "Cloning repository..."
@rm -rf .tmp-brewman
@git clone --depth 1 $(if $(TAG),--branch v$(TAG)) git@git.tanshu.com:tanshu/brewman.git .tmp-brewman
@@ -31,12 +31,3 @@ build-check: ## Multi-arch build without push (compile check)
--pull \
.tmp-brewman || (rm -rf .tmp-brewman && exit 1)
@rm -rf .tmp-brewman
.PHONY: build-check-local
build-check-local: ## Local build without push (compile check)
@git archive --format=tar HEAD | podman build \
--platform linux/amd64 \
--tag brewman:test \
--pull \
-