Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflows: fix release workflow #170

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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