Skip to content

Commit

Permalink
update go version to v1.21.0
Browse files Browse the repository at this point in the history
Signed-off-by: ii2day <ii2day.zoro@gmail.com>
  • Loading branch information
ii2day committed Dec 29, 2023
1 parent 6ddadec commit 515297e
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/call-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.20.0'
go-version: '1.21.0'
id: go

# https://github.com/helm/kind-action
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint-golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.20.0'
go-version: '1.21.0'

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.20.0'
go-version: '1.21.0'

- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.20.0'
go-version: '1.21.0'

- name: Checkout code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

GO_VERSION := 1.20
GO_VERSION := 1.21

REGISTER ?= ghcr.io
GIT_REPO ?= kdoctor-io/kdoctor
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kdoctor-io/kdoctor

go 1.20
go 1.21

require (
github.com/google/gops v0.3.27
Expand Down
30 changes: 30 additions & 0 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion images/agent-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2023 Authors of kdoctor-io
# SPDX-License-Identifier: Apache-2.0

ARG GOLANG_IMAGE=docker.io/library/golang:1.20
ARG GOLANG_IMAGE=docker.io/library/golang:1.21
ARG UBUNTU_IMAGE=docker.io/library/ubuntu:22.10

#========= build gops ===============
Expand Down
2 changes: 1 addition & 1 deletion images/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#====modify====
ARG BASE_IMAGE=ghcr.io/kdoctor-io/kdoctor-agent-base:bd4eba101d4fb9c6fa5c90c704fff5c6446bda70
ARG GOLANG_IMAGE=docker.io/library/golang:1.20
ARG GOLANG_IMAGE=docker.io/library/golang:1.21

#======= build bin ==========
# use BUILDPLATFORM to cross build
Expand Down
2 changes: 1 addition & 1 deletion images/controller-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright 2023 Authors of kdoctor-io
# SPDX-License-Identifier: Apache-2.0

ARG GOLANG_IMAGE=docker.io/library/golang:1.20
ARG GOLANG_IMAGE=docker.io/library/golang:1.21
ARG UBUNTU_IMAGE=docker.io/library/ubuntu:22.10

#========= build gops ===============
Expand Down
2 changes: 1 addition & 1 deletion images/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#====modify====
ARG BASE_IMAGE=ghcr.io/kdoctor-io/kdoctor-controller-base:890c16c0b57da17aefc5347e5f5e7e522e75d100
ARG GOLANG_IMAGE=docker.io/library/golang:1.20
ARG GOLANG_IMAGE=docker.io/library/golang:1.21

#======= build bin ==========
# use BUILDPLATFORM to cross build
Expand Down

0 comments on commit 515297e

Please sign in to comment.