Skip to content

Commit

Permalink
Bump go to 1.22.3 to fix CVE-2024-24788 (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng authored May 13, 2024
1 parent fa5cebb commit 5d18c1c
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bundle-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: InstallKubebuilder
Expand Down Expand Up @@ -166,10 +166,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: InstallKubebuilder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/olm-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: InstallKubebuilder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.21.9, 1.22.2]
go-version: [1.21.9, 1.22.3]
steps:
- name: clean disk
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: InstallKubebuilder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
run: hack/kind-cluster-build.sh --name chart-testing -c 1 -v 10 --k8sVersion v1.23.17
if: steps.list-changed.outputs.changed == 'true'

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
if: steps.list-changed.outputs.changed == 'true'
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: setup kubebuilder 3.6.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up GO 1.22.2
- name: Set up GO 1.22.3
uses: actions/setup-go@v1
with:
go-version: 1.22.2
go-version: 1.22.3
id: go

- name: InstallKubebuilder
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22.2-bullseye as builder
FROM golang:1.22.3-bullseye as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion redhat.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22.2-bullseye as builder
FROM golang:1.22.3-bullseye as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down

0 comments on commit 5d18c1c

Please sign in to comment.