feat: to unstructured

This commit is contained in:
2023-07-22 10:40:23 +00:00
parent 3768d7f002
commit a7f7f8a290
5 changed files with 908 additions and 51 deletions

View File

@@ -5,6 +5,7 @@ ENV VERSION=${VERSION}
WORKDIR /src
COPY . .
RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN CGO_ENABLED=0 go build -o /hook --ldflags "-w -extldflags '-static' -X cmd.Version=${VERSION:-dev}" .
# Final image.