Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (security): bump Go from 1.26.1 to 1.26.2

Jim Brännlund4009a1495cd8
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index 631d1b62..59dffc4d 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -12,7 +12,7 @@ jobs:
if: github.ref != 'refs/heads/develop'
runs-on: self-hosted
container:
- image: golang:1.26.1
+ image: golang:1.26.2
volumes:
- /runner-cache/go-pkg:/go/pkg/mod
- /runner-cache/go-build:/root/.cache/go-build
@@ -105,7 +105,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
- go-version: "1.26.1"
+ go-version: "1.26.2"
cache-dependency-path: agent/go.sum
- name: Download Go modules
@@ -170,7 +170,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
- go-version: "1.26.1"
+ go-version: "1.26.2"
cache-dependency-path: agent/go.sum
- name: Download Go modules
@@ -234,7 +234,7 @@ jobs:
runs-on: self-hosted
needs: [lint-backend]
container:
- image: golang:1.26.1
+ image: golang:1.26.2
options: --privileged -v /var/run/docker.sock:/var/run/docker.sock --add-host=host.docker.internal:host-gateway
volumes:
- /runner-cache/go-pkg:/go/pkg/mod
diff --git a/Dockerfile b/Dockerfile
index f5faa95a..fc0bef14 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,7 +22,7 @@ RUN pnpm build
# ========= BUILD BACKEND =========
# Backend build stage
-FROM --platform=$BUILDPLATFORM golang:1.26.1 AS backend-build
+FROM --platform=$BUILDPLATFORM golang:1.26.2 AS backend-build
# Make TARGET args available early so tools built here match the final image arch
ARG TARGETOS
@@ -81,7 +81,7 @@ RUN CGO_ENABLED=0 \
# so the agent runs on any Linux distro (Alpine, Debian, Ubuntu, RHEL, etc.).
# APP_VERSION is baked into the binary via -ldflags so the agent can
# compare its version against the server and auto-update when needed.
-FROM --platform=$BUILDPLATFORM golang:1.26.1 AS agent-build
+FROM --platform=$BUILDPLATFORM golang:1.26.2 AS agent-build
ARG APP_VERSION=dev
diff --git a/agent/e2e/Dockerfile.agent-builder b/agent/e2e/Dockerfile.agent-builder
index 26704c0c..ae470050 100644
--- a/agent/e2e/Dockerfile.agent-builder
+++ b/agent/e2e/Dockerfile.agent-builder
@@ -1,6 +1,6 @@
# Builds agent binaries with different versions so
# we can test upgrade behavior (v1 -> v2)
-FROM golang:1.26.1-alpine AS build
+FROM golang:1.26.2-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
diff --git a/agent/e2e/Dockerfile.mock-server b/agent/e2e/Dockerfile.mock-server
index d23ca0ac..d0d10ac5 100644
--- a/agent/e2e/Dockerfile.mock-server
+++ b/agent/e2e/Dockerfile.mock-server
@@ -1,6 +1,6 @@
# Mock databasus API server for version checks and binary downloads. Just
# serves static responses and files from the `artifacts` directory.
-FROM golang:1.26.1-alpine AS build
+FROM golang:1.26.2-alpine AS build
WORKDIR /app
COPY mock-server/main.go .
RUN CGO_ENABLED=0 go build -o mock-server main.go
diff --git a/agent/go.mod b/agent/go.mod
index ec3248c7..9f8b6800 100644
--- a/agent/go.mod
+++ b/agent/go.mod
@@ -1,6 +1,6 @@
module databasus-agent
-go 1.26.1
+go 1.26.2
require (
github.com/go-resty/resty/v2 v2.17.2
diff --git a/backend/go.mod b/backend/go.mod
index a086ac6a..cd21e7b1 100644
--- a/backend/go.mod
+++ b/backend/go.mod
@@ -1,6 +1,6 @@
module databasus-backend
-go 1.26.1
+go 1.26.2
require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0