Skip to content

Commit 62fdabf

Browse files
committed
Remove pre-pull Docker image steps from CI workflow
testcontainers handles image pulling automatically, so pre-pulling is unnecessary and adds overhead without benefit.
1 parent a92ff20 commit 62fdabf

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,6 @@ jobs:
175175
# Note: Docker Buildx not needed - testcontainers handles Docker directly
176176
# Skipping Buildx prevents unnecessary image pulls during initialization
177177

178-
- name: Pre-pull Docker images for caching
179-
if: matrix.db_type != 'tidb'
180-
run: |
181-
docker pull ${{ matrix.docker_image }} || true
182-
183-
- name: Pre-pull TiDB images for caching
184-
if: matrix.db_type == 'tidb'
185-
run: |
186-
docker pull pingcap/tidb:v${{ matrix.db_version }} || true
187-
docker pull pingcap/pd:v${{ matrix.db_version }} || true
188-
docker pull pingcap/tikv:v${{ matrix.db_version }} || true
189-
190178
- name: Run testcontainers tests
191179
env:
192180
GOFLAGS: -mod=vendor

0 commit comments

Comments
 (0)