From 3f6817653bf416896c8328606f4619d3463ca9e1 Mon Sep 17 00:00:00 2001 From: Malte Poll Date: Mon, 12 Dec 2022 14:39:37 +0100 Subject: [PATCH] Match pki set and key --- .github/workflows/build-os-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-os-image.yml b/.github/workflows/build-os-image.yml index ca866ad3a..b2a836831 100644 --- a/.github/workflows/build-os-image.yml +++ b/.github/workflows/build-os-image.yml @@ -228,7 +228,7 @@ jobs: working-directory: ${{ github.workspace }}/image env: PKI_SET: ${{ needs.build-settings.outputs.pkiSet }} - DB_KEY: ${{ (needs.build-settings.outputs.imageType == 'release' && secrets.SECURE_BOOT_RELEASE_DB_KEY) || secrets.SECURE_BOOT_TESTING_DB_KEY }} + DB_KEY: ${{ ((needs.build-settings.outputs.pkiSet == 'pki_prod') && secrets.SECURE_BOOT_RELEASE_DB_KEY) || secrets.SECURE_BOOT_TESTING_DB_KEY }} - name: Build shell: bash