Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/docs/sources/community/maintaining/release/patch-go-version.md

926 B

title description
Patch Go version Describes the procedure how to patch the Go version in the Loki build image.

Patch Go version

Update vulnerable Go version to non-vulnerable Go version to build Grafana Loki binaries.

Before you begin.

  1. Determine the [VERSION_PREFIX]({{< relref "./concepts/version" >}}).

  2. Need to sign-in to Docker hub to be able to push Loki build image.

Steps

  1. Find Go version to which you need to update. Example 1.20.5 to 1.20.6

  2. Update Go version in the Grafana Loki build image (loki-build-image/Dockerfile) on the main branch.

  3. [Release a new Loki Build Image]({{< relref "../release-loki-build-image.md" >}})

  4. [Backport]({{< relref "./backport-commits" >}}) the Dockerfile change to release-VERSION_PREFIX branch.

  5. [Backport]({{< relref "./backport-commits" >}}) the Loki Build Image version change from main to release-VERSION_PREFIX branch.