File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,10 @@ jobs:
126126 no_output_timeout : 60m
127127 command : |
128128 if [ "$CIRCLE_NODE_INDEX" -eq "0" ]; then
129- echo "Saving Docker images to tar.gz files ..."
130129 docker save kaczmarj/nipype:base \
131130 kaczmarj/nipype:latest \
132131 kaczmarj/nipype:py36 \
133132 kaczmarj/nipype:py27 > /tmp/docker/nipype-base-latest-py36-py27.tar
134- echo "$(du -h /tmp/docker/nipype-base-latest-py36-py27.tar)"
135133 fi
136134 - persist_to_workspace :
137135 root : /tmp
@@ -143,7 +141,8 @@ jobs:
143141 docker :
144142 - image : docker:17.09.0-ce-git
145143 steps :
146- - checkout
144+ - checkout :
145+ path : /home/circleci/nipype
147146 - setup_remote_docker
148147 - attach_workspace :
149148 at : /tmp
@@ -163,8 +162,9 @@ jobs:
163162 docker push kaczmarj/nipype:py27
164163 - run :
165164 name : Prune base Dockerfile to update cache
165+ working_directory : /home/circleci/nipype/docker
166166 command : |
167- cd /home/circleci/nipype /docker
167+ mkdir -p /tmp /docker
168168 # Use the sha256 sum of the pruned Dockerfile as the cache key.
169169 ash prune_dockerfile.sh Dockerfile.base > /tmp/docker/Dockerfile.base-pruned
170170 - save_cache :
You can’t perform that action at this time.
0 commit comments