Skip to content

Commit

Permalink
Merge pull request #1935 from samir900/main
Browse files Browse the repository at this point in the history
Upgrade Golang version to v1.20
  • Loading branch information
franknstyle committed Oct 18, 2023
2 parents eb5ac8a + cd158f4 commit e0a409a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy

go 1.19
go 1.20

require (
github.com/briandowns/spinner v1.19.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_funcs.sh
Expand Up @@ -28,7 +28,7 @@ IMAGE_BRANCH=$(git rev-parse --abbrev-ref HEAD | sed 's/\///g')
GIT_REF_LONG=$(git rev-parse --verify HEAD)

BUILDMNT=/go/src/$GOTARGET
BUILD_IMAGE=golang:1.19
BUILD_IMAGE=golang:1.20
AMD_IMAGE=gcr.io/distroless/static:nonroot
ARM_IMAGE=gcr.io/distroless/static:nonroot-arm64
PPC64LE_IMAGE=gcr.io/distroless/static:nonroot-ppc64le
Expand Down
2 changes: 1 addition & 1 deletion test/integration/testImage/Dockerfile
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19 AS base
FROM golang:1.20 AS base
WORKDIR /src

# Handle the go modules first to take advantage of Docker cache.
Expand Down
2 changes: 1 addition & 1 deletion test/integration/testImage/src/go.mod
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy/test/integration/testImage/src

go 1.19
go 1.20

require (
github.com/pkg/errors v0.8.1
Expand Down

0 comments on commit e0a409a

Please sign in to comment.