diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 26d00269..f142f4d1 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-go@v2.1.3 with: # The Go version to download (if necessary) and use. Supports semver spec and ranges. - go-version: 1.18.x + go-version: 1.19.x - name: build Docker images run: make builddockerlocal - name: install kind binaries diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 909be9a4..1d255e1a 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-go@v2.1.3 with: # The Go version to download (if necessary) and use. Supports semver spec and ranges. - go-version: 1.18.x + go-version: 1.19.x - name: check if Go utils need to be executed run: | go fmt ./... diff --git a/build-env/Dockerfile b/build-env/Dockerfile index c3ae9d88..703effd5 100644 --- a/build-env/Dockerfile +++ b/build-env/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM golang:1.18 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Module code diff --git a/cmd/initcontainer/Dockerfile.win b/cmd/initcontainer/Dockerfile.win index 2f6191c6..8a2999dd 100644 --- a/cmd/initcontainer/Dockerfile.win +++ b/cmd/initcontainer/Dockerfile.win @@ -1,4 +1,4 @@ -FROM golang:1.18-nanoserver-1809 AS builder +FROM golang:1.19-nanoserver-1809 AS builder WORKDIR /workspace # Copy the Go Module code diff --git a/cmd/nodeagent/Dockerfile.win b/cmd/nodeagent/Dockerfile.win index be6ee431..d0a6ead3 100644 --- a/cmd/nodeagent/Dockerfile.win +++ b/cmd/nodeagent/Dockerfile.win @@ -1,5 +1,5 @@ # build stage -FROM golang:1.18-nanoserver-1809 AS builder +FROM golang:1.19-nanoserver-1809 AS builder WORKDIR /workspace # Copy the Go Module code diff --git a/go.mod b/go.mod index ea22f1e8..a8ad921c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/playfab/thundernetes -go 1.18 +go 1.19 require ( github.com/caarlos0/env/v6 v6.9.3