fix: Update Dockerfile golang version to 1.26
CI / Vet, test, build (push) Successful in 2m9s
CI / Build and push image (push) Successful in 48s

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.
This commit is contained in:
Admin Bot
2026-08-27 15:20:43 -07:00
parent e1a5aca7d6
commit 61abe529ad
+1 -1
View File
@@ -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