stdlib: tests local docker socket

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba
2021-09-21 17:21:32 -07:00
parent eaa965127a
commit 4ccf030db8
3 changed files with 14 additions and 7 deletions

View File

@@ -1,14 +1,18 @@
package docker
import (
"alpha.dagger.io/dagger"
"alpha.dagger.io/random"
)
dockersocket: dagger.#Stream & dagger.#Input
suffix: random.#String & {
seed: ""
}
run: #Run & {
name: "daggerci-test-local-\(suffix.out)"
ref: "hello-world"
name: "daggerci-test-local-\(suffix.out)"
ref: "hello-world"
socket: dockersocket
}