forked from addnab/docker-run-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 783 Bytes
/
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
33
34
35
36
# action.yml
name: 'Run Container'
description: 'Run a command in a new container'
branding:
icon: 'play'
color: 'red'
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: 'docker://ghcr.io/oxidfabian/docker-run-action:latest'