Skip to content

Commit 987a3c5

Browse files
committed
pre-pull the containers
1 parent 5763abe commit 987a3c5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: Install dependencies
4343
run: python3 -m pip install -U -e .[all]
4444

45+
- name: pre-pull container images
46+
run: make container-pull
47+
4548
- name: Build documentation
4649
run: make html
4750

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ unittest-examples:
3939
check-json:
4040
python -m json.tool < src/.zenodo.json >> /dev/null && exit 0 || echo "NOT valid JSON"; exit 1
4141

42+
container-pull:
43+
for container in $$(git grep dockerPull $$(git ls-files *.cwl) | awk '-F: ' '{print $$3}'); do docker pull $${container}; done
44+
4245
.PHONY: help clean watch unittest-examples check-json Makefile
4346

4447
# Catch-all target : route all unknown targets to Sphinx using the new

0 commit comments

Comments
 (0)