Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ea4a2d7

Browse filesBrowse files
authored
CI: push tags to dockerhub (#3283)
1 parent f980447 commit ea4a2d7
Copy full SHA for ea4a2d7

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎.circleci/config.yml

Copy file name to clipboardExpand all lines: .circleci/config.yml
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.