forked from addnab/docker-run-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (33 loc) · 705 Bytes
/
action.yml
File metadata and controls
33 lines (33 loc) · 705 Bytes
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
33
# action.yml
name: 'Docker Run Action'
description: 'Run a command in a new container'
inputs:
image:
description: 'Image'
required: true
options:
description: 'Options'
required: false
run:
description: 'Run command in container'
required: false
shell:
description: 'Use a specific shell'
required: false
default: sh
registry:
description: 'Registry'
required: false
username:
description: 'Username'
required: false
password:
description: 'Password'
required: false
docker_network:
description: 'Docker Network ID'
default: ${{ job.container.network }}
required: false
runs:
using: 'docker'
image: 'Dockerfile'