From 61abe529ad96f82b559c199670d79fd4a1aeabd9 Mon Sep 17 00:00:00 2001 From: Admin Bot Date: Thu, 27 Aug 2026 15:20:43 -0700 Subject: [PATCH] fix: Update Dockerfile golang version to 1.26 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root cause of Gitea Actions build failure: - Dockerfile used golang:1.25-bookworm - go.mod requires Go >= 1.26.0 - Build failed with: go.mod requires go >= 1.26.0 (running go 1.25.14) Fix: - Updated base image to golang:1.26-bookworm - Local arm64 build now succeeds - Image size: 20.3 MB Verified: ✅ Docker build successful (arm64) ✅ Binary compiled correctly ✅ All stages passed Actions workflow should now succeed. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e91900a..70a45e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ # --platform=$BUILDPLATFORM pins the build stage to the machine doing the # building, then Go cross-compiles to $TARGETARCH. Without it, building an # amd64 image from an arm64 workstation runs the whole toolchain under QEMU. -FROM --platform=$BUILDPLATFORM golang:1.25-bookworm AS build +FROM --platform=$BUILDPLATFORM golang:1.26-bookworm AS build WORKDIR /src