Skip to content

Commit f5adba0

Browse files
committed
Change load command and if check for saving
1 parent ce3f4c6 commit f5adba0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
run: echo "${{ steps.meta.outputs.tags }}"
204204

205205
- name: Pull and save image artifact for linux/amd64
206-
if: ${{ inputs.build-os == 'ubi' && !inputs.dry_run }}
206+
if: ${{ (inputs.build-os == 'ubi'|| inputs.image == 'operator') && !inputs.dry_run }}
207207
run: |
208208
docker pull --platform=linux/amd64 localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
209209
docker save localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} -o ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar

.github/workflows/openshift-certification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Load image into Docker
4343
run: |
44-
docker load -i ${{ inputs.image }}-${{ inputs.image_version }}.tar
44+
docker load -i ${{ inputs.image }}-${{ inputs.image_version }}/${{ inputs.image }}-${{ inputs.image_version }}.tar
4545
4646
- name: Retag image for preflight
4747
run: |

0 commit comments

Comments
 (0)