Menu

This is documentation for the next version of Loki. For the latest stable release, go to the latest version.

Open source

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.

  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

  4. Backport the Dockerfile change to release-VERSION_PREFIX branch.

  5. Backport the Loki Build Image version change from main to release-VERSION_PREFIX branch.