Add version information
This commit is contained in:
parent
07c5b9cf5a
commit
e3b065ff89
5 changed files with 44 additions and 6 deletions
|
@ -5,6 +5,7 @@ WORKDIR /app
|
|||
COPY . .
|
||||
RUN go mod download
|
||||
|
||||
RUN go build -o rove-server .
|
||||
RUN go build -o rove-server -ldflags="-X version.Version=$(git describe --always --long --dirty)" .
|
||||
|
||||
CMD [ "./rove-server" ]
|
||||
|
||||
CMD "./rove-server"
|
Loading…
Add table
Add a link
Reference in a new issue