Skip to content

Commit a2aba58

Browse files
committed
fix: ldflag
1 parent 94c61ae commit a2aba58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/gitops/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY cmd cmd
1212
COPY internal internal
1313

1414
WORKDIR /usr/src/cmd/gitops
15-
RUN go build -o gitops -ldflags="-s -w 'main.version=${GITOPS_VERSION}'" .
15+
RUN go build -o gitops -ldflags="-s -w -X 'main.version=${GITOPS_VERSION}'" .
1616

1717
FROM alpine:3.20
1818
WORKDIR /usr/bin

0 commit comments

Comments
 (0)