Skip to content

Commit 3889dcb

Browse files
Merge pull request #64 from Sam-Bate-ITV/feature/alternative_image
#62: add option for specifying image
1 parent 6e6d701 commit 3889dcb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ branding:
66
color: 'green'
77

88
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+
914
mongodb-version:
1015
description: 'MongoDB version to use (default "latest")'
1116
required: false
@@ -45,6 +50,7 @@ runs:
4550
using: 'docker'
4651
image: 'Dockerfile'
4752
args:
53+
- ${{ inputs.mongodb-image }}
4854
- ${{ inputs.mongodb-version }}
4955
- ${{ inputs.mongodb-replica-set }}
5056
- ${{ inputs.mongodb-port }}

0 commit comments

Comments
 (0)