From 54cf76cbb369a4df18fc46a286af711c99915ed1 Mon Sep 17 00:00:00 2001 From: Nic Manoogian Date: Mon, 19 Aug 2024 18:01:12 -0400 Subject: [PATCH] Update golang to v1.21 --- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19bf9d2..44b7eae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: "1.20" + go-version: "1.21" - name: Generate Helm Chart and Recommended YAML run: make dist charts diff --git a/Dockerfile b/Dockerfile index 2d1bfcd..ad1e7d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.21 as builder ARG CONTROLLER_VERSION ARG TARGETOS diff --git a/go.mod b/go.mod index 17f1b2b..f9905c1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/DopplerHQ/kubernetes-operator -go 1.20 +go 1.21 require ( github.com/go-logr/logr v0.3.0