From 4d07b826f029d97ceb9853e22b9839c3517ad9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Cola=C3=A7o?= Date: Sun, 17 Nov 2024 21:01:48 +0100 Subject: [PATCH] build: Fix versioning fix copy&pasta issues. Update the correct variable during build time --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d59eb85..975321d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VERSION WORKDIR /twitch-exporter COPY . . -RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-X github.com/coolapso/go-live-server/cmd.Version=${VERSION}" -a -o twitch-exporter +RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -ldflags="-X github.com/coolapso/prometheus-twitch-exporter/cmd.Version=${VERSION}" -a -o twitch-exporter FROM alpine:latest