gha: build secure image for s390x release

This is add a build target boot-image-se with a host-key-document
config for s390x.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
Hyounggyu Choi 2023-05-22 18:31:56 +02:00
parent bb1d4adaa9
commit 6d0dabd81e

View File

@ -27,6 +27,7 @@ jobs:
strategy:
matrix:
asset:
- boot-image-se
- kernel
- qemu
- rootfs-image
@ -59,6 +60,13 @@ jobs:
env:
TARGET_BRANCH: ${{ inputs.target-branch }}
- name: Place a host key document
run: |
mkdir -p "host-key-document"
cp "${CI_HKD_PATH}" "host-key-document"
env:
CI_HKD_PATH: ${{ secrets.CI_HKD_PATH }}
- name: Build ${{ matrix.asset }}
run: |
make "${KATA_ASSET}-tarball"
@ -74,6 +82,7 @@ jobs:
ARTEFACT_REGISTRY_USERNAME: ${{ github.actor }}
ARTEFACT_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH: ${{ inputs.target-branch }}
HKD_PATH: "host-key-document"
- name: store-artifact ${{ matrix.asset }}
uses: actions/upload-artifact@v3