Hid DefaultVersion definition.
Also updated to default version to go 1.18. Signed-off-by: Kelton Bassingthwaite <KeltonBassingthwaite@gmail.com>
This commit is contained in:
parent
876d478caa
commit
ef87a79588
@ -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 | *""
|
||||
|
||||
|
@ -18,7 +18,7 @@ dagger.#Plan & {
|
||||
command: {
|
||||
name: "/bin/sh"
|
||||
args: ["-c", """
|
||||
go version | grep "1.16"
|
||||
go version | grep "1.18"
|
||||
"""]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user