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:
Gerhard Lazu 2022-03-29 19:29:17 +01:00
parent 55849c459a
commit 9920272ce2
No known key found for this signature in database
GPG Key ID: A28DE70C9444D7A6

View File

@ -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