Skip to content

CI: push tags to dockerhub #3283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
CI: push tags to dockerhub
  • Loading branch information
octomike committed Dec 17, 2020
commit 33351a5979d00831956e39cae14962624fca647a
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ _build_main_image_py36: &build_main_image_py36
--rm=false \
--tag nipype/nipype:latest \
--tag nipype/nipype:py36 \
$(test -z "${CIRCLE_TAG}" || echo --tag nipype/nipype:"${CIRCLE_TAG}") \
--build-arg BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" \
--build-arg VCS_REF="$(git rev-parse --short HEAD)" \
--build-arg VERSION="${CIRCLE_TAG}" /home/circleci/nipype
Expand Down Expand Up @@ -192,6 +193,7 @@ jobs:
docker push nipype/nipype:base
docker push nipype/nipype:latest
docker push nipype/nipype:py36
test -z "${CIRCLE_TAG}" || docker push nipype/nipype:"${CIRCLE_TAG}"
- run:
name: Move pruned Dockerfile to /tmp/docker/cache directory
command: |
Expand Down Expand Up @@ -353,6 +355,8 @@ workflows:
filters:
branches:
only: master
tags:
only: /.*/
requires:
- test_pytest
- deploy_pypi:
Expand Down