-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#62: add option for specifying image #64
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,8 @@ jobs: | |
- name: Start MongoDB | ||
uses: supercharge/[email protected] | ||
with: | ||
# Here we are using an image from Amazon's ECR rather than the default image from Docker Hub | ||
mongodb-image: 'public.ecr.aws/docker/library/mongo' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please make the option to use a custom MongoDB docker image a new section in the README.md. Please create a section like here https://github.com/supercharge/redis-github-action/blob/main/README.md#using-a-custom-redis-image There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
mongodb-version: ${{ matrix.mongodb-version }} | ||
|
||
- run: npm install | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to avoid adding the
mongodb-image
configuration to all GitHub Action workflows. It would be good if we add a new workflow file using the ECR registry.@Sam-Bate-ITV Sam, can you please remove all the added
mongodb-image
configs from the existing workflow YAML files and add a workflow. The new workflow file should be a copy of thetest-single-instance.yml
that uses a custom image.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reverted this to use the default from docker hub. Of course this may impact the workflow from completing