mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-19 20:26:32 +00:00
Merge pull request #908 from hakman/bump-debian-base
Update Go to v1.22.3
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.1'
|
||||
go-version: '1.22.3'
|
||||
- uses: actions/checkout@v4
|
||||
- name: Update Dependencies
|
||||
id: update_deps
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ ARG BASEIMAGE
|
||||
# Must override builder-base, not builder, since the latter is referred to later in the file and so must not be
|
||||
# directly replaced. See here, and note that "stage" parameter mentioned there has been renamed to
|
||||
# "build-context": https://github.com/docker/buildx/pull/904#issuecomment-1005871838
|
||||
FROM golang:1.22.2-bookworm as builder-base
|
||||
FROM golang:1.22.3-bookworm as builder-base
|
||||
FROM builder-base as builder
|
||||
LABEL maintainer="Andy Xie <andy.xning@gmail.com>"
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ ENABLE_JOURNALD=0
|
||||
endif
|
||||
|
||||
# Set default base image to Debian 12 (Bookworm)
|
||||
BASEIMAGE:=registry.k8s.io/build-image/debian-base:bookworm-v1.0.2
|
||||
BASEIMAGE:=registry.k8s.io/build-image/debian-base:bookworm-v1.0.3
|
||||
|
||||
# Disable cgo by default to make the binary statically linked.
|
||||
CGO_ENABLED:=0
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
module k8s.io/node-problem-detector
|
||||
|
||||
go 1.22.0
|
||||
|
||||
toolchain go1.22.1
|
||||
go 1.22.3
|
||||
|
||||
require (
|
||||
cloud.google.com/go/compute/metadata v0.3.0
|
||||
|
||||
+1
-3
@@ -1,8 +1,6 @@
|
||||
module k8s.io/node-problem-detector/test
|
||||
|
||||
go 1.22.0
|
||||
|
||||
toolchain go1.22.1
|
||||
go 1.22.3
|
||||
|
||||
replace k8s.io/node-problem-detector => ../.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user