From b1374215d87f6a82c125389a25a851e59ddb29b5 Mon Sep 17 00:00:00 2001 From: Kailai Wang Date: Mon, 27 May 2024 20:09:38 +0000 Subject: [PATCH] rename --- .github/workflows/create-release-draft.yml | 8 ++++---- scripts/generate-release-notes.sh | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/create-release-draft.yml b/.github/workflows/create-release-draft.yml index ff1a0a2265..050cdf2362 100644 --- a/.github/workflows/create-release-draft.yml +++ b/.github/workflows/create-release-draft.yml @@ -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 @@ -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' }} @@ -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 @@ -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: diff --git a/scripts/generate-release-notes.sh b/scripts/generate-release-notes.sh index 47fa2146bc..f516e9ce9d 100755 --- a/scripts/generate-release-notes.sh +++ b/scripts/generate-release-notes.sh @@ -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 @@ -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 @@ -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 @@ -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