all: upgrade from Go 1.26rc2 to Go 1.26.0

This commit is contained in:
Kristoffer Dalby
2026-02-16 14:16:52 +00:00
parent 82958835ce
commit 70f8141abd
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# For testing purposes only
FROM golang:1.26rc2-alpine AS build-env
FROM golang:1.26.0-alpine AS build-env
WORKDIR /go/src

View File

@@ -2,7 +2,7 @@
# and are in no way endorsed by Headscale's maintainers as an
# official nor supported release or distribution.
FROM docker.io/golang:1.26rc2-trixie AS builder
FROM docker.io/golang:1.26.0-trixie AS builder
ARG VERSION=dev
ENV GOPATH /go
WORKDIR /go/src/headscale

View File

@@ -4,7 +4,7 @@
# This Dockerfile is more or less lifted from tailscale/tailscale
# to ensure a similar build process when testing the HEAD of tailscale.
FROM golang:1.26rc2-alpine AS build-env
FROM golang:1.26.0-alpine AS build-env
WORKDIR /go/src

View File

@@ -76,7 +76,7 @@ func detectGoVersion() string {
content, err := os.ReadFile(goModPath)
if err != nil {
return "1.26rc2"
return "1.26.0"
}
lines := splitLines(string(content))
@@ -91,7 +91,7 @@ func detectGoVersion() string {
}
}
return "1.26rc2"
return "1.26.0"
}
// splitLines splits a string into lines without using strings.Split.

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/juanfont/headscale
go 1.26rc2
go 1.26.0
require (
github.com/arl/statsviz v0.8.0