workflows: build: Ensure rootfs is built before shim-v2

As the rootfs will have what we need to add as part of the shim-v2
configuration files for measured rootfs, we **must** ensure this is
built **before** shim-v2.

Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
This commit is contained in:
Fabiano Fidêncio 2024-10-24 16:21:52 +02:00
parent 13ea082531
commit 6ea0369878
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B
4 changed files with 4 additions and 4 deletions

View File

@ -203,7 +203,7 @@ jobs:
build-asset-shim-v2:
runs-on: ubuntu-22.04
needs: build-asset
needs: [build-asset, build-asset-rootfs]
steps:
- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}

View File

@ -143,7 +143,7 @@ jobs:
build-asset-shim-v2:
runs-on: arm64-builder
needs: build-asset
needs: [build-asset, build-asset-rootfs]
steps:
- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}

View File

@ -151,7 +151,7 @@ jobs:
build-asset-shim-v2:
runs-on: ppc64le
needs: build-asset
needs: [build-asset, build-asset-rootfs]
steps:
- name: Prepare the self-hosted runner
run: |

View File

@ -219,7 +219,7 @@ jobs:
build-asset-shim-v2:
runs-on: s390x
needs: build-asset
needs: [build-asset, build-asset-rootfs]
steps:
- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}