Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Kailai-Wang committed May 27, 2024
1 parent 5e7cdec commit b137421
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:
with:
context: .
file: tee-worker/build.Dockerfile
tags: litentry/litentry-identity-worker:${{ env.RELEASE_TAG }}
tags: litentry/identity-worker:${{ env.RELEASE_TAG }}
target: worker-release

- run: docker images --all
Expand All @@ -225,7 +225,7 @@ jobs:

- name: Push worker image
run: |
docker push litentry/litentry-identity-worker:${{ env.RELEASE_TAG }}
docker push litentry/identity-worker:${{ env.RELEASE_TAG }}
build-bitacross-worker:
if: ${{ github.event.inputs.bitacross_worker == 'true' }}
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
with:
context: .
file: bitacross-worker/build.Dockerfile
tags: litentry/litentry-bitacross-worker:${{ env.RELEASE_TAG }}
tags: litentry/bitacross-worker:${{ env.RELEASE_TAG }}
target: worker-release

- run: docker images --all
Expand All @@ -292,7 +292,7 @@ jobs:

- name: Push worker image
run: |
docker push litentry/litentry-bitacross-worker:${{ env.RELEASE_TAG }}
docker push litentry/bitacross-worker:${{ env.RELEASE_TAG }}
parachain-ts-tests:
Expand Down
12 changes: 6 additions & 6 deletions scripts/generate-release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ if is_identity_worker_release; then
WORKER_RUSTC_VERSION=$(cd tee-worker && rustc --version)
UPSTREAM_COMMIT=$(cat tee-worker/upstream_commit)
RUNTIME_VERSION=$(grep spec_version tee-worker/app-libs/sgx-runtime/src/lib.rs | sed 's/.*version: //;s/,//')
ENCLAVE_SHASUM=$(docker run --entrypoint sha1sum litentry/litentry-identity-worker:$IDENTITY_WORKER_DOCKER_TAG /origin/enclave.signed.so | awk '{print $1}')
MRENCLAVE=$(docker run --entrypoint cat litentry/litentry-identity-worker:$IDENTITY_WORKER_DOCKER_TAG /origin/mrenclave.txt)
ENCLAVE_SHASUM=$(docker run --entrypoint sha1sum litentry/identity-worker:$IDENTITY_WORKER_DOCKER_TAG /origin/enclave.signed.so | awk '{print $1}')
MRENCLAVE=$(docker run --entrypoint cat litentry/identity-worker:$IDENTITY_WORKER_DOCKER_TAG /origin/mrenclave.txt)
cat << EOF >> "$1"
## Identity TEE worker
Expand All @@ -192,7 +192,7 @@ client version : $WORKER_VERSION
client name : $WORKER_BIN
rustc : $WORKER_RUSTC_VERSION
upstream commit: : $UPSTREAM_COMMIT
docker image : litentry/litentry-identity-worker:$IDENTITY_WORKER_DOCKER_TAG
docker image : litentry/identity-worker:$IDENTITY_WORKER_DOCKER_TAG
runtime version: : $RUNTIME_VERSION
enclave sha1sum: : $ENCLAVE_SHASUM
Expand All @@ -208,8 +208,8 @@ if is_identity_worker_release; then
WORKER_RUSTC_VERSION=$(cd bitacross-worker && rustc --version)
UPSTREAM_COMMIT=$(cat bitacross-worker/upstream_commit)
RUNTIME_VERSION=$(grep spec_version bitacross-worker/app-libs/sgx-runtime/src/lib.rs | sed 's/.*version: //;s/,//')
ENCLAVE_SHASUM=$(docker run --entrypoint sha1sum litentry/litentry-bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG /origin/enclave.signed.so | awk '{print $1}')
MRENCLAVE=$(docker run --entrypoint cat litentry/litentry-bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG /origin/mrenclave.txt)
ENCLAVE_SHASUM=$(docker run --entrypoint sha1sum litentry/bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG /origin/enclave.signed.so | awk '{print $1}')
MRENCLAVE=$(docker run --entrypoint cat litentry/bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG /origin/mrenclave.txt)
cat << EOF >> "$1"
## Bitacross TEE worker
Expand All @@ -218,7 +218,7 @@ client version : $WORKER_VERSION
client name : $WORKER_BIN
rustc : $WORKER_RUSTC_VERSION
upstream commit: : $UPSTREAM_COMMIT
docker image : litentry/litentry-bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG
docker image : litentry/bitacross-worker:$BITACROSS_WORKER_DOCKER_TAG
runtime version: : $RUNTIME_VERSION
enclave sha1sum: : $ENCLAVE_SHASUM
Expand Down

0 comments on commit b137421

Please sign in to comment.