ci: handle STACKIT attestation

This commit is contained in:
Moritz Sanft 2024-10-22 11:42:29 +02:00
parent bd17f455c6
commit cf14e722ae
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -16,6 +16,7 @@ on:
- "azure-sev-snp"
- "azure-tdx"
- "aws-sev-snp"
- "stackit-qemu-vtpm"
default: "azure-sev-snp"
required: true
runner:
@ -161,6 +162,11 @@ jobs:
attestationVariant="${{ inputs.attestationVariant }}"
cloudProvider="${attestationVariant%%-*}"
# special case for STACKIT, as there's no special attestation variant for it
if [[ "${cloudProvider}" == "stackit" ]]; then
echo "attestationVariant=qemu-vtpm" | tee -a "$GITHUB_OUTPUT"
fi
echo "cloudProvider=${cloudProvider}" | tee -a "$GITHUB_OUTPUT"
find-latest-image: