mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-20 19:50:30 +09:00
all: upgrade from Go 1.26rc2 to Go 1.26.0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user