Skip to content

Commit 2117620

Browse files
committed
Update Go version from 1.22.5 to 1.23.0
Updates Go version across all Dockerfiles and CI workflows to align with upstream commit 874388b. This update was missed in previous CVE-related PRs. Updated files: - Dockerfile (2 occurrences) - hack/build-image/Dockerfile - .github/workflows/pr-ci-check.yml - .github/workflows/push.yml - .github/workflows/e2e-test-kind.yaml (2 occurrences) - .github/workflows/crds-verify-kind.yaml - Tiltfile Signed-off-by: Tiger Kaovilai <tkaovilai@redhat.com>
1 parent 13093b2 commit 2117620

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/crds-verify-kind.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.22.5'
17+
go-version: '1.23.0'
1818
id: go
1919
# Look for a CLI that's made for this PR
2020
- name: Fetch built CLI

.github/workflows/e2e-test-kind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: '1.22.5'
17+
go-version: '1.23.0'
1818
id: go
1919
# Look for a CLI that's made for this PR
2020
- name: Fetch built CLI
@@ -82,7 +82,7 @@ jobs:
8282
- name: Set up Go
8383
uses: actions/setup-go@v5
8484
with:
85-
go-version: '1.22.5'
85+
go-version: '1.23.0'
8686
id: go
8787
- name: Check out the code
8888
uses: actions/checkout@v4

.github/workflows/pr-ci-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up Go
1111
uses: actions/setup-go@v5
1212
with:
13-
go-version: '1.22.5'
13+
go-version: '1.23.0'
1414
id: go
1515
- name: Check out the code
1616
uses: actions/checkout@v4

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.22.5'
21+
go-version: '1.23.0'
2222
id: go
2323

2424
- uses: actions/checkout@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Velero binary build section
16-
FROM --platform=$BUILDPLATFORM golang:1.22.5-bookworm as velero-builder
16+
FROM --platform=$BUILDPLATFORM golang:1.23.0-bookworm as velero-builder
1717

1818
ARG GOPROXY
1919
ARG BIN
@@ -47,7 +47,7 @@ RUN mkdir -p /output/usr/bin && \
4747
go clean -modcache -cache
4848

4949
# Restic binary build section
50-
FROM --platform=$BUILDPLATFORM golang:1.22.5-bookworm as restic-builder
50+
FROM --platform=$BUILDPLATFORM golang:1.23.0-bookworm as restic-builder
5151

5252
ARG BIN
5353
ARG TARGETOS

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ git_sha = str(local("git rev-parse HEAD", quiet = True, echo_off = True)).strip(
5252

5353
tilt_helper_dockerfile_header = """
5454
# Tilt image
55-
FROM golang:1.22.5 as tilt-helper
55+
FROM golang:1.23.0 as tilt-helper
5656
5757
# Support live reloading with Tilt
5858
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \

hack/build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM --platform=$TARGETPLATFORM golang:1.22.5-bookworm
15+
FROM --platform=$TARGETPLATFORM golang:1.23.0-bookworm
1616

1717
ARG GOPROXY
1818

0 commit comments

Comments
 (0)