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 @@ -114,7 +114,8 @@ jobs:
114
114
--exclude='freesurfer/subjects/sample-*.mgz' \
115
115
--exclude='freesurfer/subjects/V1_average' \
116
116
--exclude='freesurfer/trctrain'
117
- echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > /tmp/freesurfer/license.txt
117
+ pushd /tmp/freesurfer
118
+ echo "${FS_LICENSE_CONTENT}" | base64 -d | sh
118
119
else
119
120
echo "FreeSurfer was cached."
120
121
circleci step halt
@@ -365,8 +366,8 @@ jobs:
365
366
name : Deploy to Docker Hub
366
367
no_output_timeout : 40m
367
368
command : |
368
- if [[ -n "$DOCKER_PASS " ]]; then
369
- docker login -u $DOCKER_USER -p $DOCKER_PASS
369
+ if [[ -n "$DOCKER_PAT " ]]; then
370
+ docker login -u $DOCKER_USER -p $DOCKER_PAT
370
371
docker push nipreps/sdcflows:latest
371
372
docker tag nipreps/sdcflows nipreps/sdcflows:$CIRCLE_TAG
372
373
docker push nipreps/sdcflows:$CIRCLE_TAG
@@ -425,6 +426,9 @@ workflows:
425
426
build_deploy :
426
427
jobs :
427
428
- cache_test_data :
429
+ context :
430
+ - nipreps-common
431
+ - fs-license
428
432
filters :
429
433
branches :
430
434
ignore :
@@ -443,6 +447,8 @@ workflows:
443
447
only : /.*/
444
448
445
449
- test_package :
450
+ context :
451
+ - nipreps-common
446
452
filters :
447
453
branches :
448
454
ignore :
@@ -452,6 +458,8 @@ workflows:
452
458
only : /.*/
453
459
454
460
- deploy_pypi :
461
+ context :
462
+ - nipreps-common
455
463
requires :
456
464
- build_docs
457
465
- test_package
@@ -463,6 +471,8 @@ workflows:
463
471
only : /.*/
464
472
465
473
- deploy_docker :
474
+ context :
475
+ - nipreps-common
466
476
requires :
467
477
- deploy_pypi
468
478
filters :
You can’t perform that action at this time.
0 commit comments