feat(suitbuilder): CD-tier filter helpers + tests; gate inventory-go build on go test

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-06-25 20:35:20 +02:00
parent 593e99894f
commit 7155055072
3 changed files with 157 additions and 0 deletions

View file

@ -2,6 +2,7 @@ FROM golang:1.25-bookworm AS build
WORKDIR /src
COPY . .
RUN go mod tidy
RUN go test ./...
ARG BUILD_VERSION=dev
RUN CGO_ENABLED=0 GOOS=linux go build \
-trimpath -ldflags "-s -w -X main.buildVersion=${BUILD_VERSION}" -o /out/inventory-go .