Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneh1999 committed Jan 9, 2025
1 parent 5abfb32 commit df500c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sgx-poster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df500c9

Please sign in to comment.