File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ COPY main.go .
1414COPY pkg ./pkg
1515COPY internal ./internal
1616
17- RUN CGO_ENABLED=1 go build -a -ldflags ' -w -s -X main.vendorVersion=" ${REV}"' -o /bin/linode-blockstorage-csi-driver /linode
17+ RUN CGO_ENABLED=1 go build -a -ldflags " -w -s -X main.vendorVersion=${REV}" -o /bin/linode-blockstorage-csi-driver /linode
1818
1919FROM alpine:3.20.3
2020LABEL maintainers="Linode"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ RUN go mod tidy
2626
2727COPY . .
2828
29- RUN CGO_ENABLED=1 go build -a -ldflags '- X main.vendorVersion=' ${REV}'' -o /bin/linode-blockstorage-csi-driver /linode
29+ RUN CGO_ENABLED=1 go build -a -ldflags "-w -s - X main.vendorVersion=${REV}" -o /bin/linode-blockstorage-csi-driver /linode
3030RUN CGO_ENABLED=1 go install go.uber.org/mock/mockgen@latest
3131RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
3232
You can’t perform that action at this time.
0 commit comments