Skip to content

Commit

Permalink
Upgrade go version to fix CVE-2024-24789, CVE-2024-24790 (#231)
Browse files Browse the repository at this point in the history
* cve

* fix cve

* red hat
  • Loading branch information
labuladong authored Aug 13, 2024
1 parent 546feb3 commit e7c5d30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
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.21.10-alpine3.20 as builder
FROM golang:1.22.6-alpine3.20 as builder

ARG ACCESS_TOKEN="none"

Expand Down
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.21
go 1.22.6

require (
github.com/apache/pulsar-client-go v0.12.1
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.21.10-alpine3.20 as builder
FROM golang:1.22.6-alpine3.20 as builder

ARG ACCESS_TOKEN="none"

Expand Down
4 changes: 1 addition & 3 deletions tests/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/streamnative/pulsar-resources-operator/tests

go 1.21

toolchain go1.22.3
go 1.22.6

require (
// pulsar-client-go latest version is v0.9.0,
Expand Down

0 comments on commit e7c5d30

Please sign in to comment.