Skip to content

Commit

Permalink
Workflows: fix release workflow
Browse files Browse the repository at this point in the history
The release workflow should follow the push workflow
and use the sample-kbc for the SIM payload

Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
  • Loading branch information
fitzthum committed Jun 8, 2023
1 parent c4466f6 commit fd5b1d7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit fd5b1d7

Please sign in to comment.