From d9f5e3413cd3f531ee032c02a53390bb9972b812 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Tue, 2 Mar 2021 22:57:57 -0600
Subject: [PATCH] chmod 775 cached images

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 392bb1a..56db565 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,7 @@ img_cache:
   script:
     - export -p | grep SINGULARITY_CACHEDIR
     - cat nextflow.config | grep -oP "container = \K.*" | tr -d "'" | sort | uniq | xargs -P 10 -I {} singularity pull --dir ${dir} 'docker://'{} || true
+    - chmod 775 ${dir}*.sif
 
 collect:
   stage: versions
-- 
GitLab