Missing build details on: loki -version

When compiling loki from source in container (based on the recommended one), after successful compilation, the build user and build date is missing from the loki -version
What am I doing wrong? How can I populate these fields?

loki, version  (branch: , revision: )
  build user:       
  build date:       
  go version:       go1.19.2
  platform:         linux/amd64

I download sources with curl from github Releases and not with (go get github.com/grafana/loki)