From 4a6716a9b9daa71f14e2624a6f0719512d8bb634 Mon Sep 17 00:00:00 2001 From: Rohit Aggarwal Date: Mon, 9 Sep 2024 13:25:29 +0530 Subject: [PATCH] Fixing 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 5fc58bac..7d28798e 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.21.9 + go-version: 1.22.5 - 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 1ab0368b..5b2c36d4 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.21.9 + go-version: 1.22.5 - name: Install Carvel Tools uses: carvel-dev/setup-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ceacc3fb..be603ba2 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.21.9 + go-version: 1.22.5 - 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 54c6e20d..a02faa04 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.21.9 + go-version: 1.22.5 - 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 73b39357..f5cb82c0 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.21.9 + go-version: 1.22.5 - name: Build the secretgen-controller artifacts run: | curl -L https://carvel.dev/install.sh | bash diff --git a/Dockerfile b/Dockerfile index 40b66695..916a3a7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.9 AS deps +FROM --platform=$BUILDPLATFORM golang:1.22.5 AS deps ARG TARGETOS TARGETARCH SGCTRL_VER=development WORKDIR /workspace