From 0e56e52cbf1f99157f7e22100004e8cc815dbd31 Mon Sep 17 00:00:00 2001
From: Mauro Morales <mauro.morales@spectrocloud.com>
Date: Wed, 29 Mar 2023 14:28:45 +0200
Subject: [PATCH] Bump go to 1.20

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
---
 Dockerfile | 2 +-
 Earthfile  | 3 ++-
 go.mod     | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index e5d6e80..db953d2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
 # Build the manager binary
-FROM golang:1.18 as builder
+FROM golang:1.20 as builder
 
 WORKDIR /workspace
 # Copy the Go Modules manifests
diff --git a/Earthfile b/Earthfile
index d0f97aa..9eac4e3 100644
--- a/Earthfile
+++ b/Earthfile
@@ -1,7 +1,8 @@
 VERSION 0.6
 ARG BASE_IMAGE=quay.io/kairos/core-ubuntu:latest
 ARG OSBUILDER_IMAGE=quay.io/kairos/osbuilder-tools
-ARG GO_VERSION=1.18
+# renovate: datasource=docker depName=golang
+ARG GO_VERSION=1.20.2
 ARG LUET_VERSION=0.33.0
 
 build-challenger:
diff --git a/go.mod b/go.mod
index 77865a3..4146709 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/kairos-io/kairos-challenger
 
-go 1.18
+go 1.20
 
 require (
 	github.com/google/uuid v1.3.0