-
Notifications
You must be signed in to change notification settings - Fork 11
/
action.yml
32 lines (31 loc) · 1.04 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Collect Docker Logs
author: jwalton
description: Collect logs from all docker containers.
inputs:
dest:
description: |
Destination folder to write to. If not provided, logs will be written to
stdout. If provided, the folder will be created if it doesn't exist, and
files will be written based on container names (e.g. 'redis.log').
required: false
images:
description: |
A comma delimited list of image names. If provided, only output from
containers with these images will be shown. Containers will match if the
image matches exactly (e.g. "mongo:3.4.22") or if the image name matches
without a tag (e.g. "mongo" will match "mongo:3.4.22").
required: false
tail:
description: Max number of lines to show from each container. Defaults to "all".
required: false
default: all
shell:
description: Shell to execute commands. Defaults to "/bin/sh".
required: false
default: /bin/sh
runs:
using: node20
main: 'dist/index.js'
branding:
icon: align-left
color: blue