Skip to content

Commit

Permalink
Move enclave secret to gh secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
delneg committed Apr 23, 2024
1 parent 8122af3 commit cd0df54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 39 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Retrieve the secret and decode it to a file
env:
ENCLAVE_PK_BASE64: ${{ secrets.ENCLAVE_PK_BASE64 }}
run: |
echo $ENCLAVE_PK_BASE64 | base64 --decode > sgxvm/Enclave_private.pem
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

Expand Down
39 changes: 0 additions & 39 deletions sgxvm/Enclave_private.pem

This file was deleted.

0 comments on commit cd0df54

Please sign in to comment.