From 6a6700fd3464f4ed501b29ed0c2cffbe470c5424 Mon Sep 17 00:00:00 2001 From: co_gwre Date: Mon, 8 Jul 2024 13:52:24 +0530 Subject: [PATCH] Chore: Update the go version to 1.22 - Update the go version in dockerfile and post-submit in github workflows Signed-off-by: Chaitanyareddy0702 Author: VibhorChinda Signed-off-by: GW Cloud Common Services --- .github/workflows/post-submit.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/post-submit.yaml b/.github/workflows/post-submit.yaml index c47cba0..9ce6add 100644 --- a/.github/workflows/post-submit.yaml +++ b/.github/workflows/post-submit.yaml @@ -7,7 +7,7 @@ on: workflow_dispatch: {} env: - GO_VERSION: '1.19' + GO_VERSION: '1.22' jobs: diff --git a/Dockerfile b/Dockerfile index d97eeea..51dbe06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG BASE_IMAGE # Build the manager binary -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.19-alpine as builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22-alpine as builder ARG GOPROXY ENV GOPROXY=${GOPROXY:-https://goproxy.cn} WORKDIR /workspace