mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
update
This commit is contained in:
25
cue.mod/pkg/universe.dagger.io/examples/helloworld/helloworld.cue
generated
Executable file
25
cue.mod/pkg/universe.dagger.io/examples/helloworld/helloworld.cue
generated
Executable file
@@ -0,0 +1,25 @@
|
||||
// dagger do hello --log-format=plain
|
||||
//
|
||||
// 9:06AM INF actions._alpine | computing
|
||||
// 9:06AM INF actions._alpine | completed duration=1s
|
||||
// 9:06AM INF actions.hello | computing
|
||||
// 9:06AM INF actions.hello | #3 0.073 hello, world!
|
||||
// 9:06AM INF actions.hello | completed duration=100ms
|
||||
package helloworld
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/dagger/core"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: {
|
||||
_alpine: core.#Pull & {source: "alpine:3"}
|
||||
// Hello world
|
||||
hello: core.#Exec & {
|
||||
input: _alpine.output
|
||||
args: ["echo", "hello, world!"]
|
||||
always: true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user