mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
25 lines
358 B
CUE
25 lines
358 B
CUE
|
package app
|
||
|
|
||
|
import (
|
||
|
"dagger.io/dagger"
|
||
|
"dagger.io/dagger/core"
|
||
|
)
|
||
|
|
||
|
dagger.#Plan & {
|
||
|
client: {
|
||
|
filesystem: {
|
||
|
".": read: contents: dagger.#FS
|
||
|
}
|
||
|
}
|
||
|
actions: {
|
||
|
docker: core.#Dockerfile & {
|
||
|
source: client.filesystem.".".read.contents
|
||
|
}
|
||
|
hello: core.#Exec & {
|
||
|
input: docker.output
|
||
|
args: ["echo", "Hello, World!"]
|
||
|
always: true
|
||
|
}
|
||
|
}
|
||
|
}
|