05d79e8ba6
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
24 lines
393 B
CUE
24 lines
393 B
CUE
package main
|
|
|
|
import (
|
|
"dagger.io/dagger"
|
|
"universe.dagger.io/docker"
|
|
"universe.dagger.io/docker/cli"
|
|
)
|
|
|
|
dagger.#Plan & {
|
|
client: filesystem: "/var/run/docker.sock": read: contents: dagger.#Service
|
|
|
|
actions: {
|
|
build: docker.#Build & {
|
|
...
|
|
}
|
|
|
|
load: cli.#Load & {
|
|
image: build.output
|
|
host: client.filesystem."/var/run/docker.sock".read.contents
|
|
tag: "myimage"
|
|
}
|
|
}
|
|
}
|