mirror of
https://github.com/airlabspl/uptimemonitor.git
synced 2025-08-14 20:29:16 +02:00
fix
This commit is contained in:
@@ -8,7 +8,7 @@ RUN go mod download
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
|
||||
go build -o uptimemonitor \
|
||||
-ldflags "-X uptimemonitor/pkg/version.Version=$(git describe --tags)" \
|
||||
-ldflags "-X uptimemonitor/pkg/version.Version=${VERSION:-$(git describe --tags)}" \
|
||||
./cmd/uptimemonitor
|
||||
|
||||
FROM alpine:latest
|
||||
|
Reference in New Issue
Block a user