feat: add go generate command to build process and update go.mod dependencies

This commit is contained in:
krau
2025-08-27 11:12:42 +08:00
parent 215e082028
commit 24978470cd
3 changed files with 4 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
go generate ./... && \
CGO_ENABLED=0 \
go build -trimpath \
-ldflags=" \