This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/stdlib/docker/tests/load/load.cue

33 lines
482 B
CUE
Raw Normal View History

package docker
import (
"alpha.dagger.io/dagger"
"alpha.dagger.io/random"
)
dockersocket: dagger.#Stream & dagger.#Input
source: dagger.#Artifact & dagger.#Input
TestLoad: {
suffix: random.#String & {
seed: ""
}
image: #Build & {
"source": source
}
load: #Load & {
tag: "daggerci-image-load-\(suffix.out)"
source: image
socket: dockersocket
}
run: #Run & {
name: "daggerci-container-load-\(suffix.out)"
ref: load.id
socket: dockersocket
}
}