bddb9b6543
Signed-off-by: Solomon Hykes <solomon@dagger.io>
24 lines
387 B
CUE
24 lines
387 B
CUE
package main
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/docker"
|
|
"universe.dagger.io/docker/cli"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
client: network: "unix:///var/run/docker.sock": connect: dagger.#Socket
|
|
|
|
actions: {
|
|
build: docker.#Build & {
|
|
...
|
|
}
|
|
|
|
load: cli.#Load & {
|
|
image: build.output
|
|
host: client.network."unix:///var/run/docker.sock".connect
|
|
tag: "myimage"
|
|
}
|
|
}
|
|
}
|