Handle image caching in CI better
cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | xargs -P 3 -I {} bash -c "singularity pull --dir ${dir} 'docker://'{} || true"
assumes:
- containers referred in nextflow.config are on docker hub and do not contain the "docker://" prefix
- containers referred in nextflow.config are prefixed by "container = " EXACTLY if a space is missing for example, that container will be skipped
need to make this more robust