Skip to content

Commit 6f82bf8

Browse files
authored
up go to 1.20 (#835)
1 parent 41ccd9f commit 6f82bf8

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- cron: '0 19 * * 1-5'
1414

1515
env:
16-
DEFAULT_GO_VERSION: ^1.19.3
16+
DEFAULT_GO_VERSION: ^1.20.4
1717
GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }}
1818
GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }}
1919
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
contents: write # required for uploading releases
1010

1111
env:
12-
DEFAULT_GO_VERSION: ^1.19.3
12+
DEFAULT_GO_VERSION: ^1.20.4
1313
GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }}
1414
GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }}
1515
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.19 as builder
1+
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
22

33
## GOLANG env
44
ARG GOPROXY="https://proxy.golang.org|direct"

Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG WINDOWS_VERSION=1809
22

33
# Build the manager binary
4-
FROM --platform=windows/amd64 golang:1.19 as builder
4+
FROM --platform=windows/amd64 golang:1.20 as builder
55

66
## GOLANG env
77
ENV GO111MODULE="on" CGO_ENABLED="0" GOOS="windows" GOARCH="amd64"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="https://github.com/kubernetes/kubernetes/releases">
77
<img src="https://img.shields.io/badge/Kubernetes-%3E%3D%201.22-brightgreen" alt="kubernetes">
88
</a>
9-
<a href="https://golang.org/doc/go1.19">
9+
<a href="https://golang.org/doc/go1.20">
1010
<img src="https://img.shields.io/github/go-mod/go-version/aws/aws-node-termination-handler?color=blueviolet" alt="go-version">
1111
</a>
1212
<a href="https://opensource.org/licenses/Apache-2.0">

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aws/aws-node-termination-handler
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/Masterminds/sprig/v3 v3.2.3

test/readme-test/spellcheck-Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.19
1+
FROM golang:1.20
22

33
RUN go install github.com/client9/misspell/cmd/[email protected]
44

test/webhook-test-proxy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.19-alpine as builder
2+
FROM golang:1.20-alpine as builder
33

44
## GOLANG env
55
ARG GOPROXY="https://proxy.golang.org|direct"

test/webhook-test-proxy/Dockerfile.windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ARG WINDOWS_VERSION=1903
22

33
# Build the manager binary
4-
FROM --platform=windows/amd64 golang:1.19 AS builder
4+
FROM --platform=windows/amd64 golang:1.20 AS builder
55

66
## GOLANG env
77
ENV GO111MODULE="on" CGO_ENABLED="0" GOOS="windows" GOARCH="amd64"

0 commit comments

Comments
 (0)