From 0fd2e90b9ed97b57ed97ea1ae5a33d65df603700 Mon Sep 17 00:00:00 2001 From: Tesshu Flower Date: Fri, 28 Jun 2024 09:28:03 -0400 Subject: [PATCH] Update to use golang 1.22.0 Signed-off-by: Tesshu Flower (cherry picked from commit 9d6b5fa7813a40842bfe89fbcf019505e4077f72) --- .github/workflows/operator.yml | 2 +- Dockerfile | 2 +- Dockerfile.volsync-custom-scorecard-tests | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/operator.yml b/.github/workflows/operator.yml index 50186a859..6bdd8a618 100644 --- a/.github/workflows/operator.yml +++ b/.github/workflows/operator.yml @@ -13,7 +13,7 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" KIND_VERSION: "0.23.0" GO111MODULE: "on" OPERATOR_IMAGE: "quay.io/backube/volsync" diff --git a/Dockerfile b/Dockerfile index 6c9dca7f4..7fdb103ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ###################################################################### # Establish a common builder image for all golang-based images -FROM golang:1.21 as golang-builder +FROM golang:1.22 as golang-builder USER root WORKDIR /workspace # We don't vendor modules. Enforce that behavior diff --git a/Dockerfile.volsync-custom-scorecard-tests b/Dockerfile.volsync-custom-scorecard-tests index 3feb5d175..aa6e4be5c 100644 --- a/Dockerfile.volsync-custom-scorecard-tests +++ b/Dockerfile.volsync-custom-scorecard-tests @@ -1,5 +1,5 @@ # Build the volsync-custom-scorecard-tests binary -FROM golang:1.21 as builder +FROM golang:1.22 as builder # Copy the go source COPY ./custom-scorecard-tests/. /workspace/ diff --git a/go.mod b/go.mod index 47ec3847e..8577b069a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/backube/volsync -go 1.21.0 +go 1.22.0 require ( github.com/dop251/diskrsync v1.3.0