Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/build-loki-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
contents: read

env:
GO_VERSION: "1.25.7"
GO_VERSION: "1.25.8"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
- "main"
"permissions":
"contents": "read"
"pull-requests": "read"
"pull-requests": "read"
154 changes: 5 additions & 149 deletions .github/workflows/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"loki-canary-boringcrypto-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.25.7"
"GO_VERSION": "1.25.8"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "fb3b12ec3e6411bcb951a5ea08cc983c2f2735fc"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -134,7 +134,7 @@
"loki-canary-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.25.7"
"GO_VERSION": "1.25.8"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "fb3b12ec3e6411bcb951a5ea08cc983c2f2735fc"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -258,7 +258,7 @@
"loki-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.25.7"
"GO_VERSION": "1.25.8"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "fb3b12ec3e6411bcb951a5ea08cc983c2f2735fc"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -382,7 +382,7 @@
"promtail-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.25.7"
"GO_VERSION": "1.25.8"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "fb3b12ec3e6411bcb951a5ea08cc983c2f2735fc"
"RELEASE_REPO": "grafana/loki"
Expand Down Expand Up @@ -503,150 +503,6 @@
${OUTPUTS_IMAGE_NAME}@${IMAGE_DIGEST_AMD64} \
${OUTPUTS_IMAGE_NAME}@${IMAGE_DIGEST_ARM}
docker buildx imagetools inspect $IMAGE
"querytee-image":
"env":
"BUILD_TIMEOUT": 60
"GO_VERSION": "1.25.7"
"IMAGE_PREFIX": "grafana"
"RELEASE_LIB_REF": "fb3b12ec3e6411bcb951a5ea08cc983c2f2735fc"
"RELEASE_REPO": "grafana/loki"
"needs":
- "check"
"outputs":
"image_digest_linux_amd64": "${{ steps.digest.outputs.digest_linux_amd64 }}"
"image_digest_linux_arm": "${{ steps.digest.outputs.digest_linux_arm }}"
"image_digest_linux_arm64": "${{ steps.digest.outputs.digest_linux_arm64 }}"
"image_name": "${{ steps.weekly-version.outputs.image_name }}"
"image_tag": "${{ steps.weekly-version.outputs.image_version }}"
"permissions":
"contents": "read"
"id-token": "write"
"runs-on": "${{ matrix.runs_on }}"
"steps":
- "name": "pull release library code"
"uses": "actions/checkout@v4"
"with":
"path": "lib"
"persist-credentials": false
"ref": "${{ env.RELEASE_LIB_REF }}"
"repository": "grafana/loki-release"
- "name": "pull code to release"
"uses": "actions/checkout@v4"
"with":
"path": "release"
"persist-credentials": false
"repository": "${{ env.RELEASE_REPO }}"
- "name": "setup node"
"uses": "actions/setup-node@v4"
"with":
"node-version": 20
"package-manager-cache": false
- "name": "Set up Docker buildx"
"uses": "docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2"
- "name": "Login to DockerHub (from Vault)"
"uses": "grafana/shared-workflows/actions/dockerhub-login@fa48192dac470ae356b3f7007229f3ac28c48a25"
- "id": "weekly-version"
"name": "Get weekly version"
"run": |
version=$(./tools/image-tag)
echo "image_version=$version" >> $GITHUB_OUTPUT
echo "image_name=${{ env.IMAGE_PREFIX }}/loki-query-tee" >> $GITHUB_OUTPUT
echo "image_full_name=${{ env.IMAGE_PREFIX }}/loki-query-tee:$version" >> $GITHUB_OUTPUT
"working-directory": "release"
- "id": "platform"
"name": "Parse image platform"
"run": |
platform="$(echo "${{ matrix.arch }}" | sed "s/\(.*\)\/\(.*\)/\1-\2/")"
echo "platform=${platform}" >> $GITHUB_OUTPUT
echo "platform_short=$(echo ${{ matrix.arch }} | cut -d / -f 2)" >> $GITHUB_OUTPUT
"working-directory": "release"
- "id": "build-push"
"name": "Build and push"
"timeout-minutes": "${{ fromJSON(env.BUILD_TIMEOUT) }}"
"uses": "docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1"
"with":
"build-args": |
IMAGE_TAG=${{ steps.weekly-version.outputs.image_version }}
GO_VERSION=${{ env.GO_VERSION }}
"context": "release"
"file": "release/cmd/querytee/Dockerfile"
"outputs": "push-by-digest=true,type=image,name=${{ steps.weekly-version.outputs.image_name }},push=true"
"platforms": "${{ matrix.arch }}"
"provenance": true
"tags": "${{ steps.weekly-version.outputs.image_name }}"
- "env":
"OUTPUTS_DIGEST": "${{ steps.build-push.outputs.digest }}"
"id": "digest"
"name": "Process image digest"
"run": |
arch=$(echo ${{ matrix.arch }} | tr "/" "_")
echo "digest_$arch=$OUTPUTS_DIGEST" >> $GITHUB_OUTPUT
"working-directory": "release"
"strategy":
"fail-fast": true
"matrix":
"include":
- "arch": "linux/amd64"
"runs_on":
- "github-hosted-ubuntu-x64-small"
- "arch": "linux/arm64"
"runs_on":
- "github-hosted-ubuntu-arm64-small"
- "arch": "linux/arm"
"runs_on":
- "github-hosted-ubuntu-arm64-small"
"querytee-manifest":
"env":
"BUILD_TIMEOUT": 60
"IMAGE_DIGEST_AMD64": "${{ needs.querytee-image.outputs.image_digest_linux_amd64 }}"
"IMAGE_DIGEST_ARM": "${{ needs.querytee-image.outputs.image_digest_linux_arm }}"
"IMAGE_DIGEST_ARM64": "${{ needs.querytee-image.outputs.image_digest_linux_arm64 }}"
"OUTPUTS_IMAGE_NAME": "${{ needs.querytee-image.outputs.image_name }}"
"OUTPUTS_IMAGE_TAG": "${{ needs.querytee-image.outputs.image_tag }}"
"needs":
- "querytee-image"
"permissions":
"contents": "read"
"id-token": "write"
"runs-on": "ubuntu-latest"
"steps":
- "name": "Set up Docker buildx"
"uses": "docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2"
- "name": "Login to DockerHub (from Vault)"
"uses": "grafana/shared-workflows/actions/dockerhub-login@75804962c1ba608148988c1e2dc35fbb0ee21746"
- "name": "Publish multi-arch manifest"
"run": |
# Unfortunately there is no better way atm than having a separate named output for each digest
echo "linux/arm64 $IMAGE_DIGEST_ARM64"
echo "linux/amd64 $IMAGE_DIGEST_AMD64"
echo "linux/arm $IMAGE_DIGEST_ARM"
IMAGE="${OUTPUTS_IMAGE_NAME}:${OUTPUTS_IMAGE_TAG}"
echo "Create multi-arch manifest for $IMAGE"
docker buildx imagetools create -t $IMAGE \
${OUTPUTS_IMAGE_NAME}@${IMAGE_DIGEST_ARM64} \
${OUTPUTS_IMAGE_NAME}@${IMAGE_DIGEST_AMD64} \
${OUTPUTS_IMAGE_NAME}@${IMAGE_DIGEST_ARM}
docker buildx imagetools inspect $IMAGE
"trigger-cd":
"env":
"IMAGE_TAG": "${{ needs.loki-image.outputs.image_tag }}"
"if": "github.ref == 'refs/heads/main'"
"needs":
- "loki-image"
- "loki-manifest"
- "loki-canary-manifest"
"permissions":
"contents": "read"
"id-token": "write"
"runs-on": "ubuntu-latest"
"steps":
- "name": "Trigger CD workflow"
"uses": "grafana/shared-workflows/actions/trigger-argo-workflow@8b88213bca76e86f9f59b43038cc5d7545452436"
"with":
"instance": "ops"
"namespace": "loki-cd"
"parameters": "imageTag=${{ env.IMAGE_TAG }}"
"workflow_template": "loki-continuous-deployment"
"name": "Publish images"
"on":
"push":
Expand All @@ -656,4 +512,4 @@
"workflow_dispatch": {}
"permissions":
"contents": "read"
"pull-requests": "read"
"pull-requests": "read"
4 changes: 2 additions & 2 deletions .github/workflows/logql-correctness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.25.7"
go-version: "1.25.8"

# The metastore generates invalid filenames for Windows (with colons),
# which get rejected by upload-artifact. We zip these files to avoid this
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.25.7"
go-version: "1.25.8"

- name: Create results directory
run: mkdir -p ./pkg/logql/bench/results
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/minor-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1111,4 +1111,4 @@ name: "Prepare Minor Release PR from Weekly"
- "k[0-9]+"
permissions:
contents: "read"
pull-requests: "read"
pull-requests: "read"
2 changes: 1 addition & 1 deletion .github/workflows/patch-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1111,4 +1111,4 @@ name: "Prepare Patch Release PR"
- "release-[0-9]+.[0-9]+.x"
permissions:
contents: "read"
pull-requests: "read"
pull-requests: "read"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,4 +441,4 @@ name: "create release"
- "main"
permissions:
contents: "read"
pull-requests: "read"
pull-requests: "read"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ DOCKER_INTERACTIVE_FLAGS := --tty --interactive
endif

# Ensure you run `make release-workflows` after changing this
GO_VERSION := 1.25.7
GO_VERSION := 1.25.8
# Ensure you run `make IMAGE_TAG=<updated-tag> build-image-push` after changing this
BUILD_IMAGE_TAG := 0.34.10

Expand Down
4 changes: 2 additions & 2 deletions cmd/chunks-inspect/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/grafana/loki/cmd/chunks-inspect

go 1.22
go 1.25.0

toolchain go1.24.0
toolchain go1.25.8

require (
github.com/golang/snappy v1.0.0
Expand Down
4 changes: 2 additions & 2 deletions cmd/dataobj-inspect/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/grafana/loki/cmd/index

go 1.24.0
go 1.25.0

toolchain go1.24.3
toolchain go1.25.8

replace github.com/grafana/loki/v3 => ../..

Expand Down
2 changes: 1 addition & 1 deletion cmd/logcli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
ARG IMAGE_TAG
FROM golang:${GO_VERSION} AS build

Expand Down
2 changes: 1 addition & 1 deletion cmd/logql-analyzer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
FROM golang:${GO_VERSION} AS build

COPY . /src/loki
Expand Down
2 changes: 1 addition & 1 deletion cmd/loki-canary-boringcrypto/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
FROM golang:${GO_VERSION} as build
ARG IMAGE_TAG

Expand Down
2 changes: 1 addition & 1 deletion cmd/loki-canary/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
FROM golang:${GO_VERSION} AS build
ARG IMAGE_TAG

Expand Down
2 changes: 1 addition & 1 deletion cmd/loki/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25

# Go build stage
FROM golang:${GO_VERSION} AS build
Expand Down
2 changes: 1 addition & 1 deletion cmd/loki/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
# Directories in this file are referenced from the root of the project not this folder
# This file is intended to be called from the root like so:
# docker build -t grafana/loki -f cmd/loki/Dockerfile .
Expand Down
2 changes: 1 addition & 1 deletion cmd/migrate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
FROM golang:${GO_VERSION} AS build
COPY . /src/loki
WORKDIR /src/loki
Expand Down
4 changes: 2 additions & 2 deletions cmd/segment-inspect/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/grafana/loki/cmd/segment-inspect

go 1.24.0
go 1.25.0

toolchain go1.24.3
toolchain go1.25.8

require (
github.com/dustin/go-humanize v1.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/grafana/loki/v3

go 1.24.0
go 1.25.0

toolchain go1.24.8
toolchain go1.25.8

require (
cloud.google.com/go/bigtable v1.40.1
Expand Down
4 changes: 2 additions & 2 deletions pkg/push/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/grafana/loki/pkg/push

go 1.24.0
go 1.25.0

toolchain go1.24.3
toolchain go1.25.8

require (
github.com/gogo/protobuf v1.3.2
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/src/helm-test/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25
FROM golang:${GO_VERSION} as build

# build via Makefile target helm-test-image in root
Expand Down
2 changes: 1 addition & 1 deletion tools/stream-generator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.24
ARG GO_VERSION=1.25

# Go build stage
FROM golang:${GO_VERSION} AS build
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ github.com/grafana/gomemcache/memcache
## explicit; go 1.13
github.com/grafana/jsonparser
# github.com/grafana/loki/pkg/push v0.0.0-20250630054201-94c0ba7b0952 => ./pkg/push
## explicit; go 1.24.0
## explicit; go 1.25.0
github.com/grafana/loki/pkg/push
# github.com/grafana/otel-profiling-go v0.5.1
## explicit; go 1.16
Expand Down
Loading