Fix helloworld post dagger core package rename
Follow-up to https://github.com/dagger/dagger/pull/1866 Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
This commit is contained in:
parent
55849c459a
commit
9920272ce2
@ -5,17 +5,18 @@
|
|||||||
// 9:06AM INF actions.hello | computing
|
// 9:06AM INF actions.hello | computing
|
||||||
// 9:06AM INF actions.hello | #3 0.073 hello, world!
|
// 9:06AM INF actions.hello | #3 0.073 hello, world!
|
||||||
// 9:06AM INF actions.hello | completed duration=100ms
|
// 9:06AM INF actions.hello | completed duration=100ms
|
||||||
package main
|
package helloworld
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"dagger.io/dagger"
|
"dagger.io/dagger"
|
||||||
|
"dagger.io/dagger/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
dagger.#Plan & {
|
dagger.#Plan & {
|
||||||
actions: {
|
actions: {
|
||||||
_alpine: dagger.#Pull & {source: "alpine:3"}
|
_alpine: core.#Pull & {source: "alpine:3"}
|
||||||
// Hello world
|
// Hello world
|
||||||
hello: dagger.#Exec & {
|
hello: core.#Exec & {
|
||||||
input: _alpine.output
|
input: _alpine.output
|
||||||
args: ["echo", "hello, world!"]
|
args: ["echo", "hello, world!"]
|
||||||
always: true
|
always: true
|
Reference in New Issue
Block a user