chat compress and some features
This commit is contained in:
@@ -11,7 +11,7 @@ COPY ./utils ./utils
|
||||
COPY ./main.go ./
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
--mount=type=cache,target=/go/pkg/mod \
|
||||
CGO_ENABLED=0 go build -trimpath \
|
||||
CGO_ENABLED=0 GOEXPERIMENT=greenteagc go build -trimpath \
|
||||
-ldflags="-s -w -X 'kurumibot/utils.BuildTime=$BUILD_TIME' -X 'kurumibot/utils.GitCommit=$GIT_COMMIT'" \
|
||||
-v -o /usr/local/bin/kurumi ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user