Skip to content

Commit 90f1618

Browse files
committed
Remove image version output
1 parent 9a16ec5 commit 90f1618

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
image: registry:3
4747
ports:
4848
- 5000:5000
49-
outputs:
50-
image_version: ${{ steps.meta.outputs.version }}
5149
steps:
5250
- name: Checkout Repository
5351
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -202,10 +200,10 @@ jobs:
202200

203201
- name: Save the image as tarball
204202
run: |
205-
docker save -o ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
203+
docker save -o ${{ inputs.image }}.tar localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
206204
207205
- name: Upload the image artifact
208206
uses: actions/upload-artifact@v4
209207
with:
210-
name: ${{ inputs.image }}-${{ steps.meta.outputs.version }}
211-
path: ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
208+
name: ${{ inputs.image }}
209+
path: ${{ inputs.image }}.tar

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ jobs:
420420
uses: ./.github/workflows/openshift-certification.yml
421421
with:
422422
runner: ubuntu-24.04
423-
image_version: ${{ jobs.build.outputs.image_version }}
424423
image: ${{ matrix.image }}
425424
permissions:
426425
contents: read

.github/workflows/openshift-certification.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
required: false
88
type: string
99
default: 'ubuntu-24.04'
10-
image_version:
11-
required: true
12-
type: string
1310
image:
1411
required: true
1512
type: string
@@ -37,14 +34,14 @@ jobs:
3734
- name: Download image artifact
3835
uses: actions/download-artifact@v4
3936
with:
40-
name: ${{ inputs.image }}-${{ inputs.image_version }}
37+
name: ${{ inputs.image }}
4138

4239
- name: Load image into Docker
43-
run: docker load -i ${{ inputs.image }}-${{ inputs.image_version }}.tar
40+
run: docker load -i ${{ inputs.image }}.tar
4441

4542
- name: Retag image for preflight
4643
run: |
47-
loaded_tag="localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ inputs.image_version }}"
44+
loaded_tag="localhost:5000/nginx-gateway-fabric/${{ inputs.image }}"
4845
preflight_tag="${{ inputs.image }}:ubi"
4946
docker tag "$loaded_tag" "$preflight_tag"
5047

0 commit comments

Comments
 (0)