We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a06530e commit a9c170aCopy full SHA for a9c170a
.circleci/config.yml
@@ -277,18 +277,20 @@ jobs:
277
- store_artifacts:
278
path: /home/circleci/work/docs
279
- run:
280
- name: Save Docker images to workspace
+ name: Save Docker images to workspace if on master
281
no_output_timeout: 60m
282
command: |
283
+ if [ "$CIRCLE_BRANCH" = "master" -a -z "$CIRCLE_PULL_REQUEST" ]; then
284
docker save nipype/nipype:base \
285
nipype/nipype:latest \
286
nipype/nipype:py27 \
287
nipype/nipype:py36 | gzip -1 > /tmp/docker/nipype-base-latest-py36-py27.tar.gz \
288
&& du -h /tmp/docker/nipype-base-latest-py36-py27.tar.gz
289
+ fi
290
- persist_to_workspace:
291
root: /tmp
292
paths:
- - docker/*
293
+ - docker
294
295
deploy:
296
docker:
0 commit comments