Files
morten-olsen.github.io/cue.mod/pkg/universe.dagger.io/go/test/container.cue
Morten Olsen cc7b7c6849 update
2022-04-03 22:15:45 +02:00

31 lines
434 B
CUE
Executable File
Generated

package go
import (
"dagger.io/dagger"
"universe.dagger.io/go"
"universe.dagger.io/alpine"
)
dagger.#Plan & {
actions: test: {
_source: dagger.#Scratch & {}
simple: go.#Container & {
source: _source
command: args: ["version"]
}
override: {
base: alpine.#Build & {
packages: go: _
}
command: go.#Container & {
input: base.output
source: _source
command: args: ["version"]
}
}
}
}