Skip to content

Commit

Permalink
Update KNE VM golang versions (#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasdeep-hundal authored Jan 22, 2025
1 parent f167576 commit d8eb895
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ build {
provisioner "shell" {
inline = [
"echo Installing golang...",
"curl -O https://dl.google.com/go/go1.21.3.linux-amd64.tar.gz",
"sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz",
"rm go1.21.3.linux-amd64.tar.gz",
"curl -O https://dl.google.com/go/go1.22.11.linux-amd64.tar.gz",
"sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.11.linux-amd64.tar.gz",
"rm go1.22.11.linux-amd64.tar.gz",
"echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc",
"echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.bashrc",
"/usr/local/go/bin/go version",
Expand Down
6 changes: 3 additions & 3 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ build {
provisioner "shell" {
inline = [
"echo Installing golang...",
"curl -O https://dl.google.com/go/go1.21.3.linux-amd64.tar.gz",
"sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.3.linux-amd64.tar.gz",
"rm go1.21.3.linux-amd64.tar.gz",
"curl -O https://dl.google.com/go/go1.22.11.linux-amd64.tar.gz",
"sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.11.linux-amd64.tar.gz",
"rm go1.22.11.linux-amd64.tar.gz",
"echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc",
"echo 'export PATH=$PATH:$(go env GOPATH)/bin' >> ~/.bashrc",
"/usr/local/go/bin/go version",
Expand Down

0 comments on commit d8eb895

Please sign in to comment.