Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Releasing loki-build-image
The loki-build-image
is the Docker image used to run tests and build Grafana Loki binaries in CI.
The image is released with any change to ./loki-build-image
on main
.
How To Use a New Release
- Update the version tag of the
loki-build-image
pipeline defined in.drone/drone.jsonnet
(search forpipeline('loki-build-image')
). - Merge change into
main
and wait for the release. - Update
BUILD_IMAGE_VERSION
in theMakefile
. - Update the image version in all the other places it exists
- Dockerfiles in
cmd
directory - .circleci/config.yml
- Dockerfiles in
- Run
make drone BUILD_IN_CONTAINER=false
to rebuild the drone yml file with the new image version (the image version in the Makefile is used) - Merge change into
main
.