Skip to content

Commit 2b9ba83

Browse files
committed
Updated examples to add missing stdin in runContainer examples
Signed-off-by: hiren <[email protected]>
1 parent d4d2c32 commit 2b9ba83

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dsl-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,7 @@ do:
950950
run:
951951
container:
952952
image: alpine
953+
stdin: ${ . }
953954
command: |
954955
input=$(cat)
955956
echo "STDIN was: $input"

examples/run-container-stdin-and-arguments.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ do:
1717
input=$(cat)
1818
echo "STDIN was: $input"
1919
echo "ARGS are $1 $2"
20+
stdin: ${ . }
2021
arguments:
2122
- Foo
2223
- Bar

0 commit comments

Comments
 (0)