Skip to content

Commit ed6878a

Browse files
committed
Fix run preflight command
1 parent c7f2ab9 commit ed6878a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ jobs:
121121
registry: quay.io
122122
username: ${{ secrets.QUAY_USERNAME }}
123123
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
124-
logout: false
125124
if: ${{ ! inputs.dry_run }}
126125

127126
- name: Docker meta
@@ -136,7 +135,7 @@ jobs:
136135
name=us-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/nginx-gateway-fabric/nginx-plus,enable=${{ inputs.image == 'plus' && github.event_name != 'pull_request' }}
137136
name=ghcr.io/${{ github.repository_owner }}/nginx-gateway-fabric/operator,enable=${{ inputs.image == 'operator' && github.event_name != 'pull_request' }}
138137
name=localhost:5000/nginx-gateway-fabric/${{ inputs.image }}
139-
name=quay.io/${{ github.repository_owner }}/nginx-gateway-fabric,enable=${{ inputs.image == 'ngf' }}
138+
name=quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/ngf,enable=${{ inputs.image == 'ngf' }}
140139
name=quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/nginx,enable=${{ inputs.image == 'nginx' }}
141140
name=quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/operator,enable=${{ inputs.image == 'operator' }}
142141
flavor: |

.github/workflows/openshift-certification.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,7 @@ jobs:
5656
env:
5757
PYXIS_API_TOKEN: ${{ secrets.PYXIS_API_TOKEN }}
5858
run: |
59-
if [[ "${{ inputs.image }}" == "ngf" ]]; then
60-
IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image_version }}"
61-
else
62-
IMAGE_PATH="quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image }}/${{ inputs.image_version }}"
63-
fi
64-
preflight check container "$IMAGE_PATH" > preflight-result.json
59+
preflight check container quay.io/${{ github.repository_owner }}/nginx-gateway-fabric/${{ inputs.image }}/${{ inputs.image_version }}" > preflight-result.json
6560
6661
- name: Check preflight results
6762
run: |

0 commit comments

Comments
 (0)