File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -426,10 +426,13 @@ jobs:
426426 uses : ./.github/workflows/openshift-certification.yml
427427 with :
428428 image : ${{ matrix.image }}
429- image_version : >
430- ${{ matrix.image == 'ngf' && needs.build-oss.outputs.image_version
431- || matrix.image == 'nginx' && needs.build-oss.outputs.image_version
432- || matrix.image == 'operator' && needs.build-operator.outputs.image_version }}
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+ ))
433436 tag : ${{ inputs.release_version || '' }}
434437 dry_run : ${{ inputs.dry_run || false }}
435438 permissions :
Original file line number Diff line number Diff line change 5353 PYXIS_API_TOKEN : ${{ secrets.PYXIS_API_TOKEN }}
5454 run : |
5555 if [[ "${{ inputs.image }}" == "ngf" ]]; then
56- IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric:${{ inputs.image_version }}-ubi "
56+ IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric:${{ inputs.image_version }}"
5757 else
58- IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image }}:${{ inputs.image_version }}-ubi "
58+ IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image }}:${{ inputs.image_version }}"
5959 fi
6060 preflight check container "$IMAGE_PATH" > preflight-result.json
6161
You can’t perform that action at this time.
0 commit comments