mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
all: build with Go 1.27.4
tailscale.com requires it.
This commit is contained in:
1 parent
9a9d566f57
commit
9910b6bd4d
4 files changed
+5
-5
No files matched your search
@@ -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.27.3-trixie AS builder
|
||||
FROM docker.io/golang:1.27.4-trixie AS builder
|
||||
ARG VERSION=dev
|
||||
ENV GOPATH /go
|
||||
WORKDIR /go/src/headscale
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# to drive a real browser-style WebSocket GET against headscale's /ts2021,
|
||||
# guarding the regression in issue #3357.
|
||||
|
||||
FROM golang:1.27.3-alpine AS build
|
||||
FROM golang:1.27.4-alpine AS build
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ changing.
|
||||
| `--timeout` | `120m` | Total test timeout. Use the built-in flag — never wrap with bash `timeout`. |
|
||||
| `--postgres` | `false` | Use PostgreSQL instead of SQLite |
|
||||
| `--failfast` | `true` | Stop on first test failure |
|
||||
| `--go-version` | auto | Detected from `go.mod` (currently 1.27.3) |
|
||||
| `--go-version` | auto | Detected from `go.mod` (currently 1.27.4) |
|
||||
| `--test-binary` | unset | Execute a precompiled integration test binary instead of running `go test` |
|
||||
| `--clean-before` | `true` | Clean stale (stopped/exited) containers before starting |
|
||||
| `--clean-after` | `true` | Clean this run's containers after completion |
|
||||
|
||||
+2
-2
@@ -113,7 +113,7 @@ func detectGoVersion() string {
|
||||
if err != nil {
|
||||
content, err = os.ReadFile(filepath.Join("..", "..", "go.mod"))
|
||||
if err != nil {
|
||||
return "1.27.3"
|
||||
return "1.27.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,5 +125,5 @@ func detectGoVersion() string {
|
||||
}
|
||||
}
|
||||
|
||||
return "1.27.3"
|
||||
return "1.27.4"
|
||||
}
|
||||
Reference in new issue
Block a user