Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go to v1.22.3 #908

Merged
merged 2 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions test/go.mod
Original file line number Diff line number Diff line change
@@ -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 => ../.

Expand Down