|
53 | 53 | username: ${{ secrets.DOCKERHUB_USERNAME }}
|
54 | 54 | password: ${{ secrets.DOCKERHUB_TOKEN }}
|
55 | 55 |
|
| 56 | + # The mongodb-github-action below doesn't use the Docker credentials for the pull. |
| 57 | + # We pre-pull, so that the image is cached. |
| 58 | + - name: Pre-pull Mongo image |
| 59 | + run: docker pull mongo:8.0 |
| 60 | + |
56 | 61 | - name: Start MongoDB
|
57 | 62 | uses: supercharge/[email protected]
|
58 | 63 | with:
|
@@ -134,6 +139,11 @@ jobs:
|
134 | 139 | -p 5431:5432 \
|
135 | 140 | -d postgres:${{ matrix.postgres-version }}
|
136 | 141 |
|
| 142 | + # The mongodb-github-action below doesn't use the Docker credentials for the pull. |
| 143 | + # We pre-pull, so that the image is cached. |
| 144 | + - name: Pre-pull Mongo image |
| 145 | + run: docker pull mongo:8.0 |
| 146 | + |
137 | 147 | - name: Start MongoDB
|
138 | 148 | uses: supercharge/[email protected]
|
139 | 149 | with:
|
@@ -206,6 +216,11 @@ jobs:
|
206 | 216 | --enforce_gtid_consistency=ON \
|
207 | 217 | --server-id=1
|
208 | 218 |
|
| 219 | + # The mongodb-github-action below doesn't use the Docker credentials for the pull. |
| 220 | + # We pre-pull, so that the image is cached. |
| 221 | + - name: Pre-pull Mongo image |
| 222 | + run: docker pull mongo:8.0 |
| 223 | + |
209 | 224 | - name: Start MongoDB
|
210 | 225 | uses: supercharge/[email protected]
|
211 | 226 | with:
|
@@ -274,6 +289,11 @@ jobs:
|
274 | 289 | username: ${{ secrets.DOCKERHUB_USERNAME }}
|
275 | 290 | password: ${{ secrets.DOCKERHUB_TOKEN }}
|
276 | 291 |
|
| 292 | + # The mongodb-github-action below doesn't use the Docker credentials for the pull. |
| 293 | + # We pre-pull, so that the image is cached. |
| 294 | + - name: Pre-pull Mongo image |
| 295 | + run: docker pull mongo:${{ matrix.mongodb-version }} |
| 296 | + |
277 | 297 | - name: Start MongoDB
|
278 | 298 | uses: supercharge/[email protected]
|
279 | 299 | with:
|
|
0 commit comments