Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# The mongodb-github-action below doesn't use the Docker credentials for the pull.
# We pre-pull, so that the image is cached.
- name: Pre-pull Mongo image
run: docker pull mongo:8.0

- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down Expand Up @@ -134,6 +139,11 @@ jobs:
-p 5431:5432 \
-d postgres:${{ matrix.postgres-version }}
# The mongodb-github-action below doesn't use the Docker credentials for the pull.
# We pre-pull, so that the image is cached.
- name: Pre-pull Mongo image
run: docker pull mongo:8.0

- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down Expand Up @@ -206,6 +216,11 @@ jobs:
--enforce_gtid_consistency=ON \
--server-id=1
# The mongodb-github-action below doesn't use the Docker credentials for the pull.
# We pre-pull, so that the image is cached.
- name: Pre-pull Mongo image
run: docker pull mongo:8.0

- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down Expand Up @@ -274,6 +289,11 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# The mongodb-github-action below doesn't use the Docker credentials for the pull.
# We pre-pull, so that the image is cached.
- name: Pre-pull Mongo image
run: docker pull mongo:${{ matrix.mongodb-version }}

- name: Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down