Skip to content

Commit

Permalink
golang: upgrade to 1.22.7
Browse files Browse the repository at this point in the history
Fixes Vulnerability #1: GO-2024-3106

Signed-off-by: Pradipta Banerjee <[email protected]>
  • Loading branch information
bpradipt committed Sep 9, 2024
1 parent 059f642 commit 76fe404
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor

go 1.21
go 1.22

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/ibmcloud-powervs/image/prereq.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# FIXME to pickup these values from versions.yaml
GO_VERSION="1.21.12"
GO_VERSION="1.22.7"
RUST_VERSION="1.75.0"

# Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/podvm/Dockerfile.podvm_builder
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG ARCH="amd64"
ARG YQ_ARCH="amd64"
# PROTOC_ARCH="x86_64" | "s390_64"
ARG PROTOC_ARCH="x86_64"
ARG GO_VERSION="1.21.12"
ARG GO_VERSION="1.22.7"
ARG PROTOC_VERSION="3.15.0"
ARG RUST_VERSION="1.75.0"
ARG YQ_VERSION="v4.35.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG ARCH="amd64"
ARG YQ_ARCH="amd64"
# PROTOC_ARCH="x86_64" | "s390_64"
ARG PROTOC_ARCH="x86_64"
ARG GO_VERSION="1.21.12"
ARG GO_VERSION="1.22.7"
ARG PROTOC_VERSION="3.15.0"
ARG RUST_VERSION="1.75.0"
ARG YQ_VERSION="v4.35.1"
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/podvm/Dockerfile.podvm_builder.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG ARCH="amd64"
ARG YQ_ARCH="amd64"
# PROTOC_ARCH="x86_64" | "s390_64"
ARG PROTOC_ARCH="x86_64"
ARG GO_VERSION="1.21.12"
ARG GO_VERSION="1.22.7"
ARG PROTOC_VERSION="3.15.0"
ARG RUST_VERSION="1.75.0"
ARG YQ_VERSION="v4.35.1"
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/podvm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

module github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor/podvm

go 1.20
go 1.22
2 changes: 1 addition & 1 deletion src/cloud-api-adaptor/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cloudimg:

tools:
bats: 1.10.0
golang: 1.21.12
golang: 1.22.7
rust: 1.75.0
protoc: 3.15.0
packer: v1.9.4
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-providers/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/cloud-api-adaptor/src/cloud-providers

go 1.21
go 1.22

require (
cloud.google.com/go/compute v1.23.3
Expand Down
2 changes: 1 addition & 1 deletion src/csi-wrapper/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/cloud-api-adaptor/src/csi-wrapper

go 1.21
go 1.22

require (
github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion src/peerpod-ctrl/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/cloud-api-adaptor/src/peerpod-ctrl

go 1.21
go 1.22

require (
github.com/confidential-containers/cloud-api-adaptor/src/cloud-providers v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion src/webhook/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.20 AS builder
FROM --platform=$BUILDPLATFORM golang:1.22 AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion src/webhook/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/confidential-containers/cloud-api-adaptor/src/webhook

go 1.21
go 1.22

require (
k8s.io/api v0.29.6
Expand Down

0 comments on commit 76fe404

Please sign in to comment.