Still trying to fix the hatch vcs build issues

This commit is contained in:
2026-09-16 03:32:19 +00:00
parent 3dfb0a2b2f
commit aeee758718
2 changed files with 11 additions and 1 deletions
-1
View File
@@ -83,7 +83,6 @@ RUN --mount=type=cache,target=/root/.cache/uv \
COPY /brewman ./
COPY --from=builder /frontend/browser /app/frontend
RUN ls -lah
# Sync the project
# Ref: https://docs.astral.sh/uv/guides/integration/docker/#intermediate-layers
+11
View File
@@ -23,3 +23,14 @@ build-check: ## Multi-arch build without push (compile check). Usage: make build
--pull \
--build-arg SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BREWMAN=$(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
@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) \
.