From 5ccd7dc7b8591993e8101b9ac546c93fa652783d Mon Sep 17 00:00:00 2001 From: AmaliMatharaarachchi Date: Fri, 31 May 2024 10:08:25 +0530 Subject: [PATCH] update workflow go version --- .github/workflows/adapter-release.yml | 2 +- .github/workflows/common-controller-release.yml | 2 +- common-controller/internal/operator/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/adapter-release.yml b/.github/workflows/adapter-release.yml index a5b53451d8..210ec262ad 100644 --- a/.github/workflows/adapter-release.yml +++ b/.github/workflows/adapter-release.yml @@ -49,7 +49,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.22" - name: Install Revive shell: sh run: | diff --git a/.github/workflows/common-controller-release.yml b/.github/workflows/common-controller-release.yml index 6c2807fead..476698be7b 100644 --- a/.github/workflows/common-controller-release.yml +++ b/.github/workflows/common-controller-release.yml @@ -49,7 +49,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.22" - name: Install Revive shell: sh run: | diff --git a/common-controller/internal/operator/Dockerfile b/common-controller/internal/operator/Dockerfile index c389c0981a..fabd5b3ad1 100644 --- a/common-controller/internal/operator/Dockerfile +++ b/common-controller/internal/operator/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 as builder +FROM golang:1.22 as builder ARG TARGETOS ARG TARGETARCH