Skip to content

Commit

Permalink
chore: bump go to 1.20 to fix CVE-2023-39323 and CVE-2023-44487 (#172)
Browse files Browse the repository at this point in the history
* chore: bump go to 1.20 to fix CVE

Signed-off-by: ericsyh <[email protected]>

* fix ci: missing license header

Signed-off-by: ericsyh <[email protected]>

* fix ci

Signed-off-by: ericsyh <[email protected]>

---------

Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh authored Nov 20, 2023
1 parent 2f6d270 commit 4e12ac4
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
docker rmi $(docker images -q) -f
df -h
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
id: go

- name: Set up Git token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
default_channel: ${{ steps.redhat.outputs.default_channel }}

steps:
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
id: go

- name: Set up Git token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GOPRIVATE: github.com/streamnative
steps:
- name: Set up Go 1.19
- name: Set up Go 1.20
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
id: go

- name: Set up git token
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Build the manager binary
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder

ARG ACCESS_TOKEN="none"

Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/streamnative/pulsar-resources-operator

go 1.19
go 1.20

require (
github.com/apache/pulsar-client-go v0.9.1-0.20230925013839-ac9c1a639933
Expand Down
2 changes: 1 addition & 1 deletion redhat.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# limitations under the License.

# Build the manager binary
FROM golang:1.19-alpine as builder
FROM golang:1.20-alpine as builder

ARG ACCESS_TOKEN="none"

Expand Down

0 comments on commit 4e12ac4

Please sign in to comment.