github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/docs/contributing/how-to-update-the-build-image.md (about)

     1  ---
     2  title: "How to update the build image"
     3  linkTitle: "How to update the build image"
     4  weight: 5
     5  slug: how-to-update-the-build-image
     6  ---
     7  
     8  The build image currently can only be updated by a Cortex maintainer. If you're not a maintainer you can still open a PR with the changes, asking a maintainer to assist you publishing the updated image. The procedure is:
     9  
    10  1. Update `build-image/Docker`.
    11  2. Build the and publish the image by using `make push-multiarch-build-image`. This will build and push multiplatform docker image (for linux/amd64 and linux/arm64). Pushing to `quay.io/cortexproject/build-image` repository can only be done by a maintainer. Running this step successfully requires [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/), but does not require a specific platform.
    12  3. Replace the image tag in `.github/workflows/*` (_there may be multiple references_) and Makefile (variable `LATEST_BUILD_IMAGE_TAG`).
    13  4. Open a PR and make sure the CI with new build-image passes