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