File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 46
46
image : registry:3
47
47
ports :
48
48
- 5000:5000
49
- outputs :
50
- image_version : ${{ steps.meta.outputs.version }}
51
49
steps :
52
50
- name : Checkout Repository
53
51
uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -202,10 +200,10 @@ jobs:
202
200
203
201
- name : Save the image as tarball
204
202
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 }}
206
204
207
205
- name : Upload the image artifact
208
206
uses : actions/upload-artifact@v4
209
207
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
Original file line number Diff line number Diff line change @@ -420,7 +420,6 @@ jobs:
420
420
uses : ./.github/workflows/openshift-certification.yml
421
421
with :
422
422
runner : ubuntu-24.04
423
- image_version : ${{ jobs.build.outputs.image_version }}
424
423
image : ${{ matrix.image }}
425
424
permissions :
426
425
contents : read
Original file line number Diff line number Diff line change 7
7
required : false
8
8
type : string
9
9
default : ' ubuntu-24.04'
10
- image_version :
11
- required : true
12
- type : string
13
10
image :
14
11
required : true
15
12
type : string
@@ -37,14 +34,14 @@ jobs:
37
34
- name : Download image artifact
38
35
uses : actions/download-artifact@v4
39
36
with :
40
- name : ${{ inputs.image }}-${{ inputs.image_version }}
37
+ name : ${{ inputs.image }}
41
38
42
39
- name : Load image into Docker
43
- run : docker load -i ${{ inputs.image }}-${{ inputs.image_version }} .tar
40
+ run : docker load -i ${{ inputs.image }}.tar
44
41
45
42
- name : Retag image for preflight
46
43
run : |
47
- loaded_tag="localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ inputs.image_version }} "
44
+ loaded_tag="localhost:5000/nginx-gateway-fabric/${{ inputs.image }}"
48
45
preflight_tag="${{ inputs.image }}:ubi"
49
46
docker tag "$loaded_tag" "$preflight_tag"
50
47
You can’t perform that action at this time.
0 commit comments