You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+33-2Lines changed: 33 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ inputs:
12
12
default: 'mongo'
13
13
14
14
mongodb-version:
15
-
description: 'MongoDB version to use (default "latest")'
15
+
description: 'MongoDB version to use (default: "latest")'
16
16
required: false
17
17
default: 'latest'
18
18
@@ -22,7 +22,7 @@ inputs:
22
22
default: ''
23
23
24
24
mongodb-port:
25
-
description: 'MongoDB port to use (default 27017)'
25
+
description: 'MongoDB port to use (default: 27017)'
26
26
required: false
27
27
default: 27017
28
28
@@ -46,6 +46,31 @@ inputs:
46
46
required: false
47
47
default: 'mongodb'
48
48
49
+
mongodb-key:
50
+
description: 'MongoDB key, required if replica set and auth are setup through username and password (no key set by default)'
51
+
required: false
52
+
default: ''
53
+
54
+
mongodb-authsource:
55
+
description: 'MongoDB authenticationDatabase a.k.a authSource to use (default: "admin" based on https://github.com/docker-library/mongo/blob/master/8.0/docker-entrypoint.sh#L372C4-L372C20)'
56
+
required: false
57
+
default: 'admin'
58
+
59
+
mongodb-replica-set-host:
60
+
description: 'MongoDB replica set host, must be accessible from both internal container and external usage (default: "localhost")'
61
+
required: false
62
+
default: 'localhost'
63
+
64
+
docker-network:
65
+
description: 'Docker network to attach the MongoDB container to. If not provided, will try to use the default GitHub Actions network if available (github_network_<rand>).'
66
+
required: false
67
+
default: ''
68
+
69
+
docker-network-alias:
70
+
description: 'Network alias for the MongoDB container when attaching to a Docker network. If not provided, will use mongodb-container-name input'
0 commit comments