From 76cee30148933ae8de12011e3211b2798a9bbd59 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 4 Jan 2024 15:47:14 +0100 Subject: [PATCH] build: use go v1.21 in container builds Signed-off-by: Niels de Vos --- Dockerfile | 2 +- build/Containerfile.sidecar | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15f393963..682194b88 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 # Copy the contents of the repository COPY . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons diff --git a/build/Containerfile.sidecar b/build/Containerfile.sidecar index 3c130d3ee..e6234e5f4 100644 --- a/build/Containerfile.sidecar +++ b/build/Containerfile.sidecar @@ -1,5 +1,5 @@ # Build the sidecar binary -FROM golang:1.20 as builder +FROM golang:1.21 as builder # Copy the contents of the repository COPY . /workspace/go/src/github.com/csi-addons/kubernetes-csi-addons