File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -763,16 +763,13 @@ jobs:
763
763
name : Deploy to Docker Hub
764
764
no_output_timeout : 40m
765
765
command : |
766
- docker push nipreps/mriqc:latest
767
-
768
- # only tag & push if CIRCLE_TAG is set
766
+ # only tag & push latest if CIRCLE_TAG is set
769
767
if [ -n "${CIRCLE_TAG:-}" ]; then
770
- echo "Tagging and pushing ${CIRCLE_TAG}..."
771
- docker tag nipreps/mriqc nipreps/mriqc:"$CIRCLE_TAG"
772
- docker push nipreps/mriqc:"$CIRCLE_TAG"
773
- else
774
- echo "CIRCLE_TAG is undefined - skipping tagged push"
775
- fi
768
+ docker push nipreps/mriqc:latest
769
+
770
+ docker tag nipreps/mriqc nipreps/mriqc:"${CIRCLE_TAG:='experimental'}"
771
+ docker push nipreps/mriqc:"$CIRCLE_TAG"
772
+ echo "Pushed tag ${CIRCLE_TAG} to Docker Hub"
776
773
777
774
workflows :
778
775
version : 2
You can’t perform that action at this time.
0 commit comments