Skip to content

Commit

Permalink
Update golang to 1.19
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Riddle <[email protected]>
  • Loading branch information
joyvuu-dave committed Nov 18, 2022
1 parent 1c714dd commit 9baa7f1
Show file tree
Hide file tree
Showing 4 changed files with 9 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.18
go 1.19

require (
github.com/briandowns/spinner v1.6.1
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.18
BUILD_IMAGE=golang:1.19
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.18 AS base
FROM golang:1.19 AS base
WORKDIR /src

# Handle the go modules first to take advantage of Docker cache.
Expand Down
7 changes: 6 additions & 1 deletion test/integration/testImage/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
module github.com/vmware-tanzu/sonobuoy/test/integration/testImage/src

go 1.14
go 1.19

require (
github.com/pkg/errors v0.8.1
github.com/spf13/cobra v0.0.5
)

require (
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
)

0 comments on commit 9baa7f1

Please sign in to comment.