v0.1.26: версия в /health, admin health и UI; ldflags VERSION; Makefile build фикс

This commit is contained in:
“Naeel”
2026-08-14 08:19:14 +04:00
parent 166baa9a98
commit 3a105de05b
6 changed files with 31 additions and 6 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o shared-sqs ./app/cmd/
ARG VERSION=dev
RUN CGO_ENABLED=0 go build -ldflags "-X shared-sqs/app/models.Version=${VERSION}" -o shared-sqs ./app/cmd/
FROM alpine:3.19
RUN apk --no-cache add ca-certificates