Skip to content

Commit a424d54

Browse files
Merge pull request #64 from Sam-Bate-ITV/feature/alternative_image
#62: add option for specifying image
1 parent 38ebbb3 commit a424d54

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,18 @@ jobs:
135135
### Using a Custom Mongo Image
136136
You can utilize an alternative MongoDB docker image using the `mongodb-image` input:
137137

138+
### Using a Custom Mongo Image
139+
You can utilize an alternative MongoDB docker image using the `mongodb-image` input:
140+
141+
142+
```yaml
143+
- name: Start MongoDB
144+
uses: supercharge/[email protected]
145+
with:
146+
# Here we are using an image from Amazon's ECR rather than the default image from Docker Hub
147+
mongodb-image: 'public.ecr.aws/docker/library/mongo'
148+
mongodb-version: ${{ matrix.mongodb-version }}
149+
```
138150

139151
```yaml
140152
- name: Start MongoDB

0 commit comments

Comments
 (0)