File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -202,18 +202,17 @@ jobs:
202
202
# - name: Show all image tags for debugging
203
203
# run: echo "${{ steps.meta.outputs.tags }}"
204
204
205
- # - name: Pull and save image artifact for linux/amd64
206
- # if: ${{ (inputs.build-os == 'ubi'|| inputs.image == 'operator') && !inputs.dry_run }}
207
- # run: |
208
- # docker pull --platform=linux/amd64 localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
209
- # docker save localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} -o ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
210
-
211
- # - name: Upload all image artifacts
212
- # uses: actions/upload-artifact@v4
213
- # with:
214
- # name: ${{ inputs.image }}-${{ steps.meta.outputs.version }}
215
- # path: ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
205
+ - name : Pull and save image artifact for linux/amd64
206
+ if : ${{ (inputs.build-os == 'ubi'|| inputs.image == 'operator') && !inputs.dry_run }}
207
+ run : |
208
+ docker pull --platform=linux/amd64 localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
209
+ docker save localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} -o ${{ github.workspace }}/dist/${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
216
210
211
+ - name : Upload all image artifacts
212
+ uses : actions/upload-artifact@v4
213
+ with :
214
+ name : ${{ inputs.image }}-${{ steps.meta.outputs.version }}
215
+ path : ${{ github.workspace }}/dist/${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
217
216
218
217
# - name: Run preflight
219
218
# env:
Original file line number Diff line number Diff line change 47
47
- name : Download Artifacts
48
48
uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
49
49
with :
50
- name : dist- ${{ github.run_id }}
50
+ name : ${{ inputs.image }}:${{ inputs.image_version }}
51
51
path : ${{ github.workspace }}/dist
52
52
53
53
- name : List files after artifact download
You can’t perform that action at this time.
0 commit comments