From ef87a79588d9b81fc653bd62bd1e05c5bef7fcb8 Mon Sep 17 00:00:00 2001 From: Kelton Bassingthwaite Date: Wed, 30 Mar 2022 08:24:32 -0700 Subject: [PATCH] Hid DefaultVersion definition. Also updated to default version to go 1.18. Signed-off-by: Kelton Bassingthwaite --- pkg/universe.dagger.io/go/image.cue | 4 ++-- pkg/universe.dagger.io/go/test/image.cue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/universe.dagger.io/go/image.cue b/pkg/universe.dagger.io/go/image.cue index 9edbd2da..77794b3e 100644 --- a/pkg/universe.dagger.io/go/image.cue +++ b/pkg/universe.dagger.io/go/image.cue @@ -5,11 +5,11 @@ import ( ) // Go image default version -#DefaultVersion: "1.16" +#_DefaultVersion: "1.18" // Build a go base image #Image: { - version: *#DefaultVersion | string + version: *#_DefaultVersion | string packages: [pkgName=string]: version: string | *"" diff --git a/pkg/universe.dagger.io/go/test/image.cue b/pkg/universe.dagger.io/go/test/image.cue index 4a72a987..0aab3182 100644 --- a/pkg/universe.dagger.io/go/test/image.cue +++ b/pkg/universe.dagger.io/go/test/image.cue @@ -18,7 +18,7 @@ dagger.#Plan & { command: { name: "/bin/sh" args: ["-c", """ - go version | grep "1.16" + go version | grep "1.18" """] } }