-
Notifications
You must be signed in to change notification settings - Fork 48
/
action.yml
54 lines (45 loc) · 1.28 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
45
46
47
48
49
50
51
52
53
54
name: 'MongoDB in GitHub Actions'
description: 'Start a MongoDB server (on default port 27017 or a custom port)'
branding:
icon: 'database'
color: 'green'
inputs:
mongodb-version:
description: 'MongoDB version to use (default "latest")'
required: false
default: 'latest'
mongodb-replica-set:
description: 'MongoDB replica set name (no replica set by default)'
required: false
default: ''
mongodb-port:
description: 'MongoDB port to use (default 27017)'
required: false
default: 27017
mongodb-db:
description: 'MongoDB db to create (default: none)'
required: false
default: ''
mongodb-username:
description: 'MongoDB root username (default: none)'
required: false
default: ''
mongodb-password:
description: 'MongoDB root password (default: none)'
required: false
default: ''
mongodb-container-name:
description: 'MongoDB container name (default: "mongodb")'
required: false
default: 'mongodb'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.mongodb-version }}
- ${{ inputs.mongodb-replica-set }}
- ${{ inputs.mongodb-port }}
- ${{ inputs.mongodb-db }}
- ${{ inputs.mongodb-username }}
- ${{ inputs.mongodb-password }}
- ${{ inputs.mongodb-container-name }}