From df500c98bf2ffbb39667683f27cf70993e823975 Mon Sep 17 00:00:00 2001 From: Sneh Koul Date: Thu, 9 Jan 2025 16:17:57 -0500 Subject: [PATCH] Update ci --- .github/workflows/sgx-poster.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sgx-poster.yml b/.github/workflows/sgx-poster.yml index 60582d2..fe5e519 100644 --- a/.github/workflows/sgx-poster.yml +++ b/.github/workflows/sgx-poster.yml @@ -71,12 +71,15 @@ jobs: run: ./gsc build sgx-poster ./nitro-espresso.manifest - name: Inject Signing Key + if: github.event_name != 'pull_request' run: echo "${{ secrets.GSC_SIGNING_KEY }}" > enclave-key.pem - name: Run gsc sign image + if: github.event_name != 'pull_request' run: ./gsc sign-image sgx-poster enclave-key.pem - name: Delete signing key + if: github.event_name != 'pull_request' run: rm enclave-key.pem - name: Tag Docker