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:
126
126
no_output_timeout : 60m
127
127
command : |
128
128
if [ "$CIRCLE_NODE_INDEX" -eq "0" ]; then
129
- echo "Saving Docker images to tar.gz files ..."
130
129
docker save kaczmarj/nipype:base \
131
130
kaczmarj/nipype:latest \
132
131
kaczmarj/nipype:py36 \
133
132
kaczmarj/nipype:py27 > /tmp/docker/nipype-base-latest-py36-py27.tar
134
- echo "$(du -h /tmp/docker/nipype-base-latest-py36-py27.tar)"
135
133
fi
136
134
- persist_to_workspace :
137
135
root : /tmp
@@ -143,7 +141,8 @@ jobs:
143
141
docker :
144
142
- image : docker:17.09.0-ce-git
145
143
steps :
146
- - checkout
144
+ - checkout :
145
+ path : /home/circleci/nipype
147
146
- setup_remote_docker
148
147
- attach_workspace :
149
148
at : /tmp
@@ -163,8 +162,9 @@ jobs:
163
162
docker push kaczmarj/nipype:py27
164
163
- run :
165
164
name : Prune base Dockerfile to update cache
165
+ working_directory : /home/circleci/nipype/docker
166
166
command : |
167
- cd /home/circleci/nipype /docker
167
+ mkdir -p /tmp /docker
168
168
# Use the sha256 sum of the pruned Dockerfile as the cache key.
169
169
ash prune_dockerfile.sh Dockerfile.base > /tmp/docker/Dockerfile.base-pruned
170
170
- save_cache :
You can’t perform that action at this time.
0 commit comments