Skip to content

Commit 77c815d

Browse files
authored
fix(cve): Update Go version from 1.24.7 to 1.24.11 to fix CVE (#7057)
* Bump Operator Go version * Bump Executor Go version * Bump Go in Core-Builder Dockerfile * Bump Go Version in CI
1 parent f2e7745 commit 77c815d

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

.github/workflows/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
required: false
1313

1414
env:
15-
GOLANG_VERSION: 1.24.7
15+
GOLANG_VERSION: 1.24.11
1616

1717
jobs:
1818
operator:

.github/workflows/python-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: true
99

1010
env:
11-
GOLANG_VERSION: 1.24.7
11+
GOLANG_VERSION: 1.24.11
1212

1313
jobs:
1414
build-and-push:

.github/workflows/security_code_tests_v1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: snyk/actions/setup@master
2929
- uses: actions/setup-go@v3
3030
with:
31-
go-version: '1.24.7'
31+
go-version: '1.24.11'
3232
- name: security-operator
3333
run: snyk test --file=operator/go.mod --fail-on=upgradable --severity-threshold=high
3434
env:
@@ -41,7 +41,7 @@ jobs:
4141
- uses: snyk/actions/setup@master
4242
- uses: actions/setup-go@v3
4343
with:
44-
go-version: '1.24.7'
44+
go-version: '1.24.11'
4545
- name: Set up executor's environment
4646
# NOTE: The executor needs a couple extra steps before we can build it,
4747
# like copying the operator's package into the executor's folder so that

.github/workflows/test-executor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
GOLANG_VERSION: 1.24.7
11+
GOLANG_VERSION: 1.24.11
1212

1313
jobs:
1414
executor-lint:

.github/workflows/test-operator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
env:
11-
GOLANG_VERSION: 1.24.7
11+
GOLANG_VERSION: 1.24.11
1212

1313
jobs:
1414
operator-lint:

core-builder/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ RUN apt-get remove -y --auto-remove \
8888

8989
# INSTALL GO
9090
ENV PATH=/usr/local/go/bin:$PATH
91-
RUN wget https://dl.google.com/go/go1.24.7.linux-amd64.tar.gz && \
92-
tar -zxvf go1.24.7.linux-amd64.tar.gz && \
91+
RUN wget https://dl.google.com/go/go1.24.11.linux-amd64.tar.gz && \
92+
tar -zxvf go1.24.11.linux-amd64.tar.gz && \
9393
mv go/ /usr/local/go
9494

9595
# Install kubebuilder (using github link)

executor/Dockerfile.executor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.7 as builder
2+
FROM golang:1.24.11 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

executor/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/seldonio/seldon-core/executor
22

3-
go 1.24.7
3+
go 1.24.11
44

55
require (
66
github.com/cloudevents/sdk-go v1.2.0

operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.24.7 as builder
2+
FROM golang:1.24.11 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

operator/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/seldonio/seldon-core/operator
22

3-
go 1.24.7
3+
go 1.24.11
44

55
require (
66
emperror.dev/errors v0.8.0

0 commit comments

Comments
 (0)