Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
This commit is contained in:
Vasek - Tom C
2022-02-11 17:31:36 +01:00
parent 73829fd9a7
commit ce4c1f036f
5 changed files with 44 additions and 28 deletions

View File

@@ -32,7 +32,7 @@ dagger.#Plan & {
filename: "hello.sh"
}
}
output: run.export.files."/out.txt".contents & "Hello, world\n"
output: run.export.files."/out.txt" & "Hello, world\n"
}
// Run a script from string
@@ -42,7 +42,7 @@ dagger.#Plan & {
export: files: "/output.txt": _
script: contents: "echo 'Hello, inlined world!' > /output.txt"
}
output: run.export.files."/output.txt".contents & "Hello, inlined world!\n"
output: run.export.files."/output.txt" & "Hello, inlined world!\n"
}
}