Fix: Using dsh and glm5.3-flash

This commit is contained in:
2026-09-16 04:13:03 +00:00
parent aeee758718
commit 5b691a577b
2 changed files with 23 additions and 9 deletions
+8 -4
View File
@@ -1,12 +1,13 @@
.PHONY: build-production
build-production: ## Build the production container image. Usage: make build-production TAG=15.4.0
@test -n "$(TAG)" || { echo "Usage: make build-production TAG=15.4.0" >&2; exit 1; }
@echo "Building image..."
@podman manifest rm registry.tanshu.com/brewman:latest 2>/dev/null || true
@podman build \
--platform linux/amd64,linux/arm64 \
--manifest registry.tanshu.com/brewman:latest \
--pull \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION=$(TAG) \
https://git.tanshu.com/tanshu/brewman.git#v$(TAG)
@echo "Pushing manifests..."
@@ -15,22 +16,25 @@ build-production: ## Build the production container image. Usage: make build-pro
.PHONY: build-check
build-check: ## Multi-arch build without push (compile check). Usage: make build-check TAG=15.4.0
@test -n "$(TAG)" || { echo "Usage: make build-check TAG=15.4.0" >&2; exit 1; }
@echo "Building image..."
@podman manifest rm brewman:test 2>/dev/null || true
@podman build \
--platform linux/amd64,linux/arm64 \
--manifest brewman:test \
--pull \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION=$(TAG) \
https://git.tanshu.com/tanshu/brewman.git#v$(TAG)
.PHONY: build-check-local
build-check-local: ## Multi-arch build without push (compile check). Usage: make build-check TAG=15.4.0
# Defaults the version when built without a tag; an explicit TAG still wins.
build-check-local: TAG = 0.0.0
build-check-local: ## Single-arch build without push (compile check). Usage: make build-check-local [TAG=15.4.0]
@echo "Building image..."
@podman manifest rm brewman:test 2>/dev/null || true
@podman build \
--platform linux/amd64 \
--manifest brewman:test \
--no-cache \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(TAG) \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION=$(TAG) \
.