Skip to content

Commit a219d77

Browse files
committed
Fix export step
1 parent 5064ef6 commit a219d77

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,7 @@ jobs:
212212
- name: Export and upload images
213213
if: ${{ inputs.build-os == 'ubi' && !inputs.dry_run }}
214214
run: |
215-
# Create a local reference for the platform
216-
docker buildx imagetools create --tag temp localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }}
217-
# Export the image as a tarball
218-
docker buildx imagetools export temp > ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
219-
done
215+
docker buildx imagetools export localhost:5000/nginx-gateway-fabric/${{ inputs.image }}:${{ steps.meta.outputs.version }} > ${{ inputs.image }}-${{ steps.meta.outputs.version }}.tar
220216
221217
- name: Upload all image artifacts
222218
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)