File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ _build_main_image_py36: &build_main_image_py36
52
52
--rm=false \
53
53
--tag nipype/nipype:latest \
54
54
--tag nipype/nipype:py36 \
55
+ $(test -z "${CIRCLE_TAG}" || echo --tag nipype/nipype:"${CIRCLE_TAG}") \
55
56
--build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \
56
57
--build-arg VCS_REF="$(git rev-parse --short HEAD)" \
57
58
--build-arg VERSION="${CIRCLE_TAG}" /home/circleci/nipype
@@ -192,6 +193,7 @@ jobs:
192
193
docker push nipype/nipype:base
193
194
docker push nipype/nipype:latest
194
195
docker push nipype/nipype:py36
196
+ test -z "${CIRCLE_TAG}" || docker push nipype/nipype:"${CIRCLE_TAG}"
195
197
- run :
196
198
name : Move pruned Dockerfile to /tmp/docker/cache directory
197
199
command : |
@@ -353,6 +355,8 @@ workflows:
353
355
filters :
354
356
branches :
355
357
only : master
358
+ tags :
359
+ only : /.*/
356
360
requires :
357
361
- test_pytest
358
362
- deploy_pypi :
You can’t perform that action at this time.
0 commit comments