Merge pull request #1944 from KGB33/update_go_pkg_docs
Update go pkg DefaultVersion
This commit is contained in:
commit
8385b89f65
@ -5,11 +5,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// Go image default version
|
// Go image default version
|
||||||
#DefaultVersion: "1.16"
|
_#DefaultVersion: "1.18"
|
||||||
|
|
||||||
// Build a go base image
|
// Build a go base image
|
||||||
#Image: {
|
#Image: {
|
||||||
version: *#DefaultVersion | string
|
version: *_#DefaultVersion | string
|
||||||
|
|
||||||
packages: [pkgName=string]: version: string | *""
|
packages: [pkgName=string]: version: string | *""
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ dagger.#Plan & {
|
|||||||
command: {
|
command: {
|
||||||
name: "/bin/sh"
|
name: "/bin/sh"
|
||||||
args: ["-c", """
|
args: ["-c", """
|
||||||
go version | grep "1.16"
|
go version | grep "1.18"
|
||||||
"""]
|
"""]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ setup() {
|
|||||||
common_setup
|
common_setup
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "bash" {
|
@test "go" {
|
||||||
dagger "do" -p ./build.cue test
|
dagger "do" -p ./build.cue test
|
||||||
dagger "do" -p ./container.cue test
|
dagger "do" -p ./container.cue test
|
||||||
dagger "do" -p ./image.cue test
|
dagger "do" -p ./image.cue test
|
||||||
|
Reference in New Issue
Block a user