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/pkg/universe.dagger.io/docker/test/multi-nested-build-test.cue
Andrea Luzzardi 2ce9934f7c docker.#Build: support for nested builds
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-01-20 15:45:41 -08:00

34 lines
461 B
CUE

package docker
import (
"dagger.io/dagger"
"universe.dagger.io/docker"
)
dagger.#Plan & {
actions: build: docker.#Build & {
steps: [
docker.#Build & {
steps: [
docker.#Build & {
steps: [
docker.#Pull & {
source: "alpine"
},
docker.#Run & {
cmd: name: "ls"
},
]
},
docker.#Run & {
cmd: name: "ls"
},
]
},
docker.#Run & {
cmd: name: "ls"
},
]
}
}