feat: to unstructured
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user