Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

Commit 19f67ea

Browse files
authored
build: fix Dockerfile.ci build vars (#77)
1 parent 9d1ea5a commit 19f67ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.ci

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export GOARCH=$TARGETARCH; \
2424
[[ "$GOARCH" == "arm" ]] && [[ "$TARGETVARIANT" == "v6" ]] && export GOARM=6; \
2525
[[ "$GOARCH" == "arm" ]] && [[ "$TARGETVARIANT" == "v7" ]] && export GOARM=7; \
2626
echo $GOARCH $GOOS $GOARM$GOAMD64; \
27-
go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${REVISION} -X main.date=${BUILDTIME}" -o /out/bin/omegabrr cmd/omegabrr/main.go
27+
go build -ldflags "-s -w -X buildinfo.Version=${VERSION} -X buildinfo.Commit=${REVISION} -X buildinfo.Date=${BUILDTIME}" -o /out/bin/omegabrr cmd/omegabrr/main.go
2828

2929
# build runner
3030
FROM alpine:latest AS runner

0 commit comments

Comments
 (0)