From 15a68d54045f6390d1b109db12a7e0b8cefbc258 Mon Sep 17 00:00:00 2001 From: Xun Jiang Date: Thu, 15 Aug 2024 20:52:08 +0800 Subject: [PATCH] Bump Golang to fix CVEs. Signed-off-by: Xun Jiang --- .github/workflows/pr.yaml | 2 +- .github/workflows/push.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index c7324b0..6702d34 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,7 +10,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.22.2' + go-version: '1.22.6' id: go - name: Check out the code diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a42773f..c0c3d63 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.22.2' + go-version: '1.22.6' id: go - name: Check out code into the Go module directory diff --git a/Dockerfile b/Dockerfile index a664e00..47d3579 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=$BUILDPLATFORM golang:1.22.2-bookworm AS build +FROM --platform=$BUILDPLATFORM golang:1.22.6-bookworm AS build ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index b4833fc..1b2d60c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/velero-plugin-for-gcp -go 1.22.2 +go 1.22.6 require ( cloud.google.com/go/storage v1.40.0