mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-31 07:19:06 +00:00
Merge pull request #10860 from kata-containers/topic/debug-ci
workflows: build: Do not store unnecessary content on the tarball
This commit is contained in:
commit
c9f5966f56
@ -218,9 +218,24 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
asset:
|
asset:
|
||||||
- agent
|
- busybox
|
||||||
- coco-guest-components
|
- coco-guest-components
|
||||||
|
- kernel-nvidia-gpu-headers
|
||||||
|
- kernel-nvidia-gpu-confidential-headers
|
||||||
- pause-image
|
- pause-image
|
||||||
|
steps:
|
||||||
|
- uses: geekyeggo/delete-artifact@v5
|
||||||
|
with:
|
||||||
|
name: kata-artifacts-amd64-${{ matrix.asset}}${{ inputs.tarball-suffix }}
|
||||||
|
|
||||||
|
# We don't need the binaries installed in the rootfs as part of the release tarball, so can delete them now we've built the rootfs
|
||||||
|
remove-rootfs-binary-artifacts-for-release:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
needs: build-asset-rootfs
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
asset:
|
||||||
|
- agent
|
||||||
steps:
|
steps:
|
||||||
- uses: geekyeggo/delete-artifact@v5
|
- uses: geekyeggo/delete-artifact@v5
|
||||||
if: ${{ inputs.stage == 'release' }}
|
if: ${{ inputs.stage == 'release' }}
|
||||||
@ -229,7 +244,7 @@ jobs:
|
|||||||
|
|
||||||
build-asset-shim-v2:
|
build-asset-shim-v2:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: [build-asset, build-asset-rootfs, remove-rootfs-binary-artifacts]
|
needs: [build-asset, build-asset-rootfs, remove-rootfs-binary-artifacts, remove-rootfs-binary-artifacts-for-release]
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Kata Containers quay.io
|
- name: Login to Kata Containers quay.io
|
||||||
if: ${{ inputs.push-to-registry == 'yes' }}
|
if: ${{ inputs.push-to-registry == 'yes' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user