-
Notifications
You must be signed in to change notification settings - Fork 29
/
action.yml
44 lines (41 loc) · 1.11 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
33
34
35
36
37
38
39
40
41
42
43
44
name: 'Redis Server in GitHub Actions'
description: 'Start a Redis server'
branding:
icon: 'database'
color: 'red'
inputs:
redis-image:
description: 'Redis image to use. Useful if you need to run a custom Redis image'
required: false
default: 'redis'
redis-version:
description: 'Redis version to use'
required: false
default: 'latest'
redis-port:
description: 'Redis port to use and expose'
required: false
default: 6379
redis-password:
description: "Redis password to use"
required: false
default: ''
redis-container-name:
description: "Name of the created container. Useful if you run multiple Redis containers"
required: false
default: 'redis'
redis-remove-container:
description: "Remove container after container exit?"
required: false
type: boolean
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.redis-image }}
- ${{ inputs.redis-version }}
- ${{ inputs.redis-port }}
- ${{ inputs.redis-password }}
- ${{ inputs.redis-container-name }}
- ${{ inputs.redis-remove-container }}