build: update to go1.20.5 (#17451)

Go released a security update to fix build-time code injection and execution via
CGO. This doesn't impact already-released versions of Nomad, just the build
toolchain, so we won't be releasing a Nomad security update to go with it.
This commit is contained in:
Tim Gross
2023-06-07 11:44:59 -04:00
committed by GitHub
parent 9a6078a2ae
commit ceb3b4c0f1
5 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ case $(arch) in
esac
function install_go() {
local go_version="1.20.4"
local go_version="1.20.5"
local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz"
if go version 2>&1 | grep -q "${go_version}"; then

View File

@@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
mkdir -p "${TMP_WORKSPACE}/tmp"
install_go() {
local go_version="1.20.4"
local go_version="1.20.5"
local download=
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"