From 29ddd9f04dacb96e932e940782da44068764db7f Mon Sep 17 00:00:00 2001 From: Rohit Aggarwal Date: Mon, 20 May 2024 12:35:49 +0530 Subject: [PATCH] Bumping go version to fix CVE Signed-off-by: Rohit Aggarwal --- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/kind-action.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test-gh.yml | 2 +- .github/workflows/trivy-scan.yml | 2 +- Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index c4703583..54347d56 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.2 + go-version: 1.22.3 - uses: actions/checkout@v3.3.0 with: fetch-depth: '0' diff --git a/.github/workflows/kind-action.yml b/.github/workflows/kind-action.yml index c304b97a..fc97ee6a 100644 --- a/.github/workflows/kind-action.yml +++ b/.github/workflows/kind-action.yml @@ -29,7 +29,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 # default version of go is 1.10 with: - go-version: 1.22.2 + go-version: 1.22.3 - name: Install Carvel Tools uses: carvel-dev/setup-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c765c98..40715a71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.22.2 + go-version: 1.22.3 - name: Install Carvel Tools uses: carvel-dev/setup-action@v2 with: diff --git a/.github/workflows/test-gh.yml b/.github/workflows/test-gh.yml index b6744e82..f9ba4347 100644 --- a/.github/workflows/test-gh.yml +++ b/.github/workflows/test-gh.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.2 + go-version: 1.22.3 - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 5674d3bf..fc31c2a1 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -69,7 +69,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: 1.22.2 + go-version: 1.22.3 - name: Build the secretgen-controller artifacts run: | curl -L https://carvel.dev/install.sh | bash diff --git a/Dockerfile b/Dockerfile index 6d61937f..44fe9e6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.22.2 AS deps +FROM --platform=$BUILDPLATFORM golang:1.22.3 AS deps ARG TARGETOS TARGETARCH SGCTRL_VER=development WORKDIR /workspace