File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -423,16 +423,17 @@ jobs:
423423 matrix :
424424 image : [ngf, nginx, operator]
425425 # if: ${{ github.event_name == 'pull_request' && github.event_pull_request.base.ref == 'main' || (github.event_name == 'push' && github.ref == 'refs/heads/main') || (inputs.is_production_release == true) }}
426+ if : |
427+ ${{ matrix.image == 'operator' || (
428+ (matrix.image == 'ngf' || matrix.image == 'nginx') &&
429+ contains(
430+ (matrix.image == 'ngf' && needs.build-oss.outputs.image_version || matrix.image == 'nginx' && needs.build-oss.outputs.image_version),
431+ '-ubi'
432+ )
433+ ) }}
426434 uses : ./.github/workflows/openshift-certification.yml
427435 with :
428436 image : ${{ matrix.image }}
429- if : |
430- (matrix.image == 'operator') ||
431- ((matrix.image == 'ngf' || matrix.image == 'nginx') && contains(
432- matrix.image == 'ngf' && needs.build-oss.outputs.image_version ||
433- matrix.image == 'nginx' && needs.build-oss.outputs.image_version,
434- '-ubi'
435- ))
436437 tag : ${{ inputs.release_version || '' }}
437438 dry_run : ${{ inputs.dry_run || false }}
438439 permissions :
You can’t perform that action at this time.
0 commit comments