diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 54f5e47..4ecf93c 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -11,7 +11,7 @@ jobs: lint-backend: runs-on: self-hosted container: - image: golang:1.24.9 + image: golang:1.26.1 volumes: - /runner-cache/go-pkg:/go/pkg/mod - /runner-cache/go-build:/root/.cache/go-build @@ -95,7 +95,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.24.9" + go-version: "1.26.1" cache-dependency-path: agent/go.sum - name: Download Go modules @@ -151,7 +151,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.24.9" + go-version: "1.26.1" cache-dependency-path: agent/go.sum - name: Download Go modules @@ -168,7 +168,7 @@ jobs: runs-on: self-hosted needs: [lint-backend] container: - image: golang:1.24.9 + image: golang:1.26.1 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 4c64d2b..1358c32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN npm run build # ========= BUILD BACKEND ========= # Backend build stage -FROM --platform=$BUILDPLATFORM golang:1.24.9 AS backend-build +FROM --platform=$BUILDPLATFORM golang:1.26.1 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.24.9 AS agent-build +FROM --platform=$BUILDPLATFORM golang:1.26.1 AS agent-build ARG APP_VERSION=dev diff --git a/agent/go.mod b/agent/go.mod index 5dbe5bf..6edcc5d 100644 --- a/agent/go.mod +++ b/agent/go.mod @@ -1,6 +1,6 @@ module databasus-agent -go 1.24.9 +go 1.26.1 require github.com/stretchr/testify v1.11.1 diff --git a/backend/go.mod b/backend/go.mod index fd76d9c..439df25 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -1,6 +1,6 @@ module databasus-backend -go 1.24.9 +go 1.26.1 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0