Skip to content

Commit

Permalink
Use new keys from env setting (#2858)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang committed Jul 4, 2024
1 parent 81da304 commit 736e545
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,11 @@ jobs:
# see https://docs.docker.com/build/drivers/
driver: docker

# the key for identity worker enclave shall be renewed when switching to sdk-v2.0.0
- name: Write enclave signing key
run: |
cat << EOF > tee-worker/enclave_key.pem
${{ secrets.IDENTITY_ENCLAVE_SIGNING_KEY }}
${{ secrets.IDENTITY_ENCLAVE_STAGING_SIGNING_KEY }}
EOF
- name: Build local builder
Expand Down Expand Up @@ -253,7 +254,7 @@ jobs:
- name: Write enclave signing key
run: |
cat << EOF > bitacross-worker/enclave_key.pem
${{ secrets.BITACROSS_ENCLAVE_SIGNING_KEY }}
${{ secrets.BITACROSS_ENCLAVE_PROD_SIGNING_KEY }}
EOF
- name: Build local builder
Expand Down

0 comments on commit 736e545

Please sign in to comment.