-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
41 lines (41 loc) · 1022 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
37
38
39
40
41
name: 'Redis Cluster with Master-Slave'
description: 'Setup Redis cluster with 3 master and 3 slave in a single container'
author: 'Vishnu Nair'
branding:
icon: 'database'
color: 'red'
inputs:
master1-port:
description: 'Port number for master1'
required: false
default: 5000
master2-port:
description: 'Port number for master2'
required: false
default: 5001
master3-port:
description: 'Port number for master3'
required: false
default: 5002
slave1-port:
description: 'Port number for slave1'
required: false
default: 5003
slave2-port:
description: 'Port number for slave2'
required: false
default: 5004
slave3-port:
description: 'Port number for slave3'
required: false
default: 5005
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.master1-port }}
- ${{ inputs.master2-port }}
- ${{ inputs.master3-port }}
- ${{ inputs.slave1-port }}
- ${{ inputs.slave2-port }}
- ${{ inputs.slave3-port }}