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: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,6 +246,18 @@ jobs:
246
246
247
247
**Caveat:** due to [this issue](https://github.com/docker-library/mongo/issues/211), you **cannot enable user creation AND replica sets** initially. Therefore, if you use this action to setup a replica set, please create your users through a separate script.
248
248
249
+
### Using a Custom Mongo Image
250
+
You can utilize an alternative MongoDB docker image using the `mongodb-image` input:
Copy file name to clipboardExpand all lines: action.yml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,11 @@ branding:
6
6
color: 'green'
7
7
8
8
inputs:
9
+
mongodb-image:
10
+
description: 'MongoDB image to use (defaults to using "mongo" from Docker Hub but you could also use an image from another repository such as Amazons "public.ecr.aws/docker/library/mongo")'
11
+
required: false
12
+
default: 'mongo'
13
+
9
14
mongodb-version:
10
15
description: 'MongoDB version to use (default "latest")'
0 commit comments