From 81b9be6d59b1cb5f936c3c1ba971ed1f5f68d572 Mon Sep 17 00:00:00 2001 From: 1gtm <1gtm@appscode.com> Date: Sat, 10 Oct 2026 18:45:54 +0000 Subject: [PATCH] Use Go 1.27, k8s 1.37 & debian:13 Signed-off-by: 1gtm <1gtm@appscode.com> --- .github/workflows/ci.yml | 4 ++-- Makefile | 6 +++--- probe/http/http_get.go | 3 ++- probe/http/http_post.go | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 900c85fd..0ce9b372 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-24.04 steps: - - name: Set up Go 1.25 + - name: Set up Go 1.27 uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0 with: - go-version: '1.25' + go-version: '1.27' id: go - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 diff --git a/Makefile b/Makefile index 4025e82a..39b6fe7a 100644 --- a/Makefile +++ b/Makefile @@ -55,10 +55,10 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS) windows/amd64 darwin/amd64 OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS)) ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH)) -BASEIMAGE_PROD ?= gcr.io/distroless/static-debian12 -BASEIMAGE_DBG ?= debian:12 +BASEIMAGE_PROD ?= gcr.io/distroless/static-debian13 +BASEIMAGE_DBG ?= debian:13 -GO_VERSION ?= 1.25 +GO_VERSION ?= 1.27 BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION) OUTBIN = bin/$(OS)_$(ARCH)/$(BIN) diff --git a/probe/http/http_get.go b/probe/http/http_get.go index 27a681e7..30e1f6e9 100644 --- a/probe/http/http_get.go +++ b/probe/http/http_get.go @@ -51,7 +51,8 @@ func NewGetWithTLSConfig(config *tls.Config, followNonLocalRedirects bool) GetPr TLSClientConfig: config, DisableKeepAlives: true, Proxy: http.ProxyURL(nil), - }) + }, + ) return httpGetProber{transport, followNonLocalRedirects} } diff --git a/probe/http/http_post.go b/probe/http/http_post.go index 4f3a7aa7..011f3be3 100644 --- a/probe/http/http_post.go +++ b/probe/http/http_post.go @@ -49,7 +49,8 @@ func NewPostWithTLSConfig(config *tls.Config, followNonLocalRedirects bool) Post TLSClientConfig: config, DisableKeepAlives: true, Proxy: http.ProxyURL(nil), - }) + }, + ) return httpPostProber{transport, followNonLocalRedirects} }