18 lines
214 B
CUE
18 lines
214 B
CUE
|
package docker
|
||
|
|
||
|
import (
|
||
|
"alpha.dagger.io/dagger"
|
||
|
)
|
||
|
|
||
|
TestConfig: {
|
||
|
host: string @dagger(input)
|
||
|
}
|
||
|
|
||
|
TestHost: client: #Command & {
|
||
|
command: #"""
|
||
|
docker $CMD
|
||
|
"""#
|
||
|
host: TestConfig.host
|
||
|
env: CMD: "version"
|
||
|
}
|