File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ jobs:
131
131
--exclude='freesurfer/subjects/sample-*.mgz' \
132
132
--exclude='freesurfer/subjects/V1_average' \
133
133
--exclude='freesurfer/trctrain'
134
- echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > /tmp/freesurfer/license.txt
134
+ pushd /tmp/freesurfer
135
+ echo "${FS_LICENSE_CONTENT}" | base64 -d | sh
135
136
else
136
137
echo "FreeSurfer was cached."
137
138
circleci step halt
@@ -388,8 +389,8 @@ jobs:
388
389
name : Deploy to Docker Hub
389
390
no_output_timeout : 40m
390
391
command : |
391
- if [[ -n "$DOCKER_PASS " ]]; then
392
- docker login -u $DOCKER_USER -p $DOCKER_PASS
392
+ if [[ -n "$DOCKER_PAT " ]]; then
393
+ docker login -u $DOCKER_USER -p $DOCKER_PAT
393
394
docker push nipreps/sdcflows:latest
394
395
docker tag nipreps/sdcflows nipreps/sdcflows:$CIRCLE_TAG
395
396
docker push nipreps/sdcflows:$CIRCLE_TAG
@@ -465,6 +466,9 @@ workflows:
465
466
build_deploy :
466
467
jobs :
467
468
- cache_test_data :
469
+ context :
470
+ - nipreps-common
471
+ - fs-license
468
472
filters :
469
473
branches :
470
474
ignore :
@@ -483,6 +487,8 @@ workflows:
483
487
only : /.*/
484
488
485
489
- test_package :
490
+ context :
491
+ - nipreps-common
486
492
filters :
487
493
branches :
488
494
ignore :
@@ -492,6 +498,8 @@ workflows:
492
498
only : /.*/
493
499
494
500
- deploy_pypi :
501
+ context :
502
+ - nipreps-common
495
503
requires :
496
504
- build_docs
497
505
- test_package
@@ -503,6 +511,8 @@ workflows:
503
511
only : /.*/
504
512
505
513
- deploy_docker :
514
+ context :
515
+ - nipreps-common
506
516
requires :
507
517
- deploy_pypi
508
518
filters :
You can’t perform that action at this time.
0 commit comments