Releasing Loki Build Image
The loki-build-image
is the Docker image used to run tests and build Grafana Loki binaries in CI.
The build and publish process of the image is triggered upon a merge to main
if any changes were made in the folder ./loki-build-image/
.
To build and use the loki-build-image
:
- Create a branch with the desired changes to the
./loki-build-image/Dockerfile
. - Update the
BUILD_IMAGE_VERSION
variable in theMakefile
. - Commit your changes.
- Run
make build-image-push
to build and publish the new version of the build image. - Run
make release-workflows
to update the Github workflows. - Commit your changes.
- Push your changes to the remote branch.
- Open a PR against the
main
branch.