mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 18:39:42 +08:00
feat: add go generate command to build process and update go.mod dependencies
This commit is contained in:
@@ -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=" \
|
||||
|
||||
Reference in New Issue
Block a user