mirror of
https://github.com/addnab/docker-run-action.git
synced 2025-07-19 07:11:32 +03:00
multiline support
This commit is contained in:
12
README.md
12
README.md
@ -11,7 +11,17 @@ Docker already supports running commands inside a docker image. See [jobs.<jobs_
|
||||
- uses: addnab/docker-run-action@v1
|
||||
with:
|
||||
image: docker:latest
|
||||
command: echo "hello world"
|
||||
run: echo "hello world"
|
||||
```
|
||||
|
||||
#### Multiple commands
|
||||
```yaml
|
||||
- uses: addnab/docker-run-action@v1
|
||||
with:
|
||||
image: docker:latest
|
||||
run: |
|
||||
echo "first line"
|
||||
echo "second line"
|
||||
```
|
||||
|
||||
### Supported Inputs
|
||||
|
Reference in New Issue
Block a user