Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update to go1.22 to fix various network CVE #5682

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/chaos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go/src/github.com/${{ github.repository }}/go.mod
go-version: 1.21.3
go-version: 1.22.5
- name: Set vars
run: |
echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: go/src/github.com/${{ github.repository }}/go.mod
go-version: 1.21.3
go-version: 1.22.5
- name: Set vars
run: |
echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion hack/run-in-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ docker run ${docker_args[@]} \
-v $ROOT:/go/src/github.com/pingcap/tidb-operator \
-w /go/src/github.com/pingcap/tidb-operator \
--entrypoint /usr/local/bin/runner.sh \
"pingcap/kubekins-e2e:v6-go1.21.3" \
"pingcap/kubekins-e2e:v7-go1.22.5" \
"${args[@]}"
2 changes: 1 addition & 1 deletion tests/images/kubekins-e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM debian:buster-slim

ARG GO_VERSION=1.21.3
ARG GO_VERSION=1.22.5

# common util tools
RUN apt-get update && \
Expand Down
Loading