diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a77faa8f6..a68bf24f3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ permissions: contents: read env: - GOLANG_VERSION: 1.21 + GOLANG_VERSION: 1.22 APPLICATION_NAME: redis-operator DockerImagName: docker.io/opstree/redis-operator BuildDocs: true diff --git a/.golangci.yml b/.golangci.yml index 1f6276d5a..1ff28d4d5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -47,7 +47,7 @@ linters: run: timeout: 15m - go: "1.21" + go: "1.22" tests: true show-stats: true skip-files: diff --git a/Dockerfile b/Dockerfile index 5a1575dae..ae57deaee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.21 AS builder +FROM golang:1.22 as builder ARG BUILDOS ARG BUILDPLATFORM ARG BUILDARCH diff --git a/go.mod b/go.mod index 0aac98ace..6dd0f7a46 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/OT-CONTAINER-KIT/redis-operator -go 1.21 +go 1.22 require ( github.com/banzaicloud/k8s-objectmatcher v1.8.0