diff --git a/docs/sources/community/maintaining/release/patch-go-version.md b/docs/sources/community/maintaining/release/patch-go-version.md index 3ce5bb8a0612..b96c6fe27154 100644 --- a/docs/sources/community/maintaining/release/patch-go-version.md +++ b/docs/sources/community/maintaining/release/patch-go-version.md @@ -18,29 +18,8 @@ Update vulnerable Go version to non-vulnerable Go version to build Grafana Loki 1. Update Go version in the Grafana Loki build image (`loki-build-image/Dockerfile`) on the `main` branch. -1. [Backport]({{< relref "./backport-commits" >}}) it to `release-VERSION_PREFIX` branch. +1. [Release a new Loki Build Image]({{< relref "../release-loki-build-image.md" >}}) -1. Determine new Grafana Loki build image version. +1. [Backport]({{< relref "./backport-commits" >}}) the Dockerfile change to `release-VERSION_PREFIX` branch. - 1. Check current `BUILD_IMAGE_VERSION` from `Makefile`. - - 1. Increment 1 to the last digit. Example `v0.29.4` becomes `v0.29.5` - - 1. This will be your new `NEW_BUILD_IMAGE_VERSION`. - -1. Build and push new Grafana Loki build image. - - ```shell - BUILD_IMAGE_VERSION=$NEW_BUILD_IMAGE_VERSION make build-image-push - ``` - -1. Update build image versions on `main` branch. - - 1. Update `BUILD_IMAGE_VERSION` to `$NEW_BUILD_IMAGE_VERSION` in `Makefile` - - 1. Update drone file. - ```shell - make .drone/drone.yml - ``` - -1. [Backport]({{< relref "./backport-commits" >}}) it to `release-VERSION_PREFIX` branch. +1. [Backport]({{< relref "./backport-commits" >}}) the Loki Build Image version change from `main` to `release-VERSION_PREFIX` branch.