github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/docs/contributing/how-to-upgrade-golang-version.md (about) 1 --- 2 title: "How to upgrade Golang version" 3 linkTitle: "How to upgrade Golang version" 4 weight: 4 5 slug: how-to-upgrade-golang-version 6 --- 7 8 To upgrade the Golang version: 9 10 1. Upgrade build image version 11 - Upgrade Golang version in `build-image/Dockerfile` 12 - Build new image `make build-image/.uptodate` 13 - Publish the new image to `quay.io` (requires a maintainer) 14 - Update the Docker image tag in `.github/workflows/*` 15 2. Upgrade integration tests version 16 - Update the Golang version installed in the `integration` job in `.github/workflows/*` 17 3. Upgrade the reference to the latest build image called `LATEST_BUILD_IMAGE_TAG` in `Makefile` 18 19 If the minimum support Golang version should be upgraded as well: 20 21 1. Upgrade `go` version in `go.mod`