Skip to content

Commit

Permalink
update golang version
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Grant <pegrant@vmware.com>
  • Loading branch information
Peter Grant committed Nov 13, 2023
1 parent e6a4db9 commit 9a64023
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy

go 1.20
go 1.21

require (
github.com/briandowns/spinner v1.19.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_funcs.sh
Original file line number Diff line number Diff line change
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.20
BUILD_IMAGE=golang:1.21.4
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.20 AS base
FROM golang:1.21.4 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware-tanzu/sonobuoy/test/integration/testImage/src

go 1.20
go 1.21

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

0 comments on commit 9a64023

Please sign in to comment.