Combining the arm64 builds into the existing build matrix changed the
GitHub check name from `build (binary)` to `build (<runner>,
<target>)`, so the previous required `build (binary)` status is no
longer produced.
Add a final CI job with a stable display name that depends on all
previous steps.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
| ... | ... |
@@ -174,3 +174,23 @@ jobs: |
| 174 | 174 |
targets: dind |
| 175 | 175 |
set: | |
| 176 | 176 |
*.output=type=cacheonly |
| 177 |
+ |
|
| 178 |
+ success: |
|
| 179 |
+ name: CI Build Success |
|
| 180 |
+ runs-on: ubuntu-24.04 |
|
| 181 |
+ if: ${{ always() }}
|
|
| 182 |
+ needs: |
|
| 183 |
+ - validate-dco |
|
| 184 |
+ - build |
|
| 185 |
+ - prepare-cross |
|
| 186 |
+ - cross |
|
| 187 |
+ - govulncheck |
|
| 188 |
+ - build-dind |
|
| 189 |
+ steps: |
|
| 190 |
+ - |
|
| 191 |
+ name: Check CI result |
|
| 192 |
+ if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
|
|
| 193 |
+ run: exit 1 |
|
| 194 |
+ - |
|
| 195 |
+ name: Report success |
|
| 196 |
+ run: echo "All CI jobs completed successfully" |