File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 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
5252 --rm=false \
5353 --tag nipype/nipype:latest \
5454 --tag nipype/nipype:py36 \
55+ $(test -z "${CIRCLE_TAG}" || echo --tag nipype/nipype:"${CIRCLE_TAG}") \
5556 --build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \
5657 --build-arg VCS_REF="$(git rev-parse --short HEAD)" \
5758 --build-arg VERSION="${CIRCLE_TAG}" /home/circleci/nipype
@@ -192,6 +193,7 @@ jobs:
192193 docker push nipype/nipype:base
193194 docker push nipype/nipype:latest
194195 docker push nipype/nipype:py36
196+ test -z "${CIRCLE_TAG}" || docker push nipype/nipype:"${CIRCLE_TAG}"
195197 - run :
196198 name : Move pruned Dockerfile to /tmp/docker/cache directory
197199 command : |
@@ -353,6 +355,8 @@ workflows:
353355 filters :
354356 branches :
355357 only : master
358+ tags :
359+ only : /.*/
356360 requires :
357361 - test_pytest
358362 - deploy_pypi :
You can’t perform that action at this time.
0 commit comments