From fd5b1d7b899a50b295605aa5428e5f74f6818e7b Mon Sep 17 00:00:00 2001 From: Tobin Feldman-Fitzthum Date: Wed, 7 Jun 2023 19:27:03 +0000 Subject: [PATCH] Workflows: fix release workflow The release workflow should follow the push workflow and use the sample-kbc for the SIM payload Signed-off-by: Tobin Feldman-Fitzthum --- .github/workflows/release.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 70820183..e3ee14ea 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,9 +9,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - asset: - - HW - - SIM + include: + - sgx_mode: SIM + kbc: sample-kbc + - sgx_mode: HW + kbc: cc-kbc steps: - name: Login to quay.io uses: docker/login-action@v2 @@ -23,10 +25,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 # This is needed in order to keep the commit ids history - - name: Build Enclave CC Payload using SGX_MODE=${{ matrix.asset }} + - name: Build Enclave CC Payload using SGX_MODE=${{ matrix.sgx_mode }} KBC=${{ matrix.kbc }} run: | ./tools/packaging/build/build_payload.sh env: - SGX_MODE: ${{ matrix.asset }} + SGX_MODE: ${{ matrix.sgx_mode }} + KBC: ${{ matrix.kbc }} CI: no PUSH: yes