42
42
REFERENCE_DIR : /tmp/reference
43
43
44
44
jobs :
45
- build-docker-latest :
45
+ build-docker :
46
46
name : ' Check and build the current docker image'
47
47
runs-on : ubuntu-latest
48
48
timeout-minutes : 180
@@ -117,10 +117,10 @@ jobs:
117
117
# this may also need adaptations in the test script at the bottom
118
118
echo "EXTRA_ARGS=" >> $GITHUB_OUTPUT
119
119
- name : Checkout repository
120
- if : ${{ steps.parse.outputs.CONTINUE && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
120
+ if : ${{ steps.parse.outputs.CONTINUE == 'true' && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
121
121
uses : actions/checkout@v4
122
122
- name : Get the FreeSurfer version
123
- if : ${{ steps.parse.outputs.CONTINUE && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
123
+ if : ${{ steps.parse.outputs.CONTINUE == 'true' && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
124
124
shell : bash
125
125
id : parse-version
126
126
run : |
@@ -139,7 +139,7 @@ jobs:
139
139
echo "FASTSURFER_HOME=$(pwd)"
140
140
} > $GITHUB_OUTPUT
141
141
- uses : Deep-MI/FastSurfer/.github/actions/build-docker@dev
142
- if : ${{ steps.parse.outputs.CONTINUE && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
142
+ if : ${{ steps.parse.outputs.CONTINUE == 'true' && steps.parse.outputs.DOCKER_IMAGE == 'build-cached' }}
143
143
# This action needs the "full" checkout (located at ${{ inputs.fastsurfer-home }})
144
144
with :
145
145
fastsurfer-home : ${{ steps.parse-version.outputs.FASTSURFER_HOME }}
@@ -148,10 +148,10 @@ jobs:
148
148
freesurfer-build-image : " ${{ steps.parse-version.outputs.FS_BUILD_IMAGE }}"
149
149
fastsurfer :
150
150
name : ' Run FastSurfer on sample images'
151
- needs : build-docker-latest
151
+ needs : build-docker
152
152
runs-on : ubuntu-latest
153
153
timeout-minutes : 180
154
- if : needs.build-docker-latest .outputs.continue
154
+ if : needs.build-docker.outputs.continue == 'true'
155
155
strategy :
156
156
# the following matrix strategy will result in one run per subject as matrix is "one-dimensional".
157
157
# Additional parameters under "include" are then added as additional (dependent) information
@@ -175,8 +175,8 @@ jobs:
175
175
file-extension : ${{ matrix.file-extension }}
176
176
image-href : ${{ secrets[matrix.image-key] }}
177
177
license : ${{ secrets.QUICKTEST_LICENSE }}
178
- docker-image : ${{ needs.build-docker-latest .outputs.docker-image }}
179
- extra-args : ${{ needs.build-docker-latest .outputs.extra-args }}
178
+ docker-image : ${{ needs.build-docker.outputs.docker-image }}
179
+ extra-args : ${{ needs.build-docker.outputs.extra-args }}
180
180
tests :
181
181
name : ' Download data and perform tests'
182
182
needs : fastsurfer
0 commit comments