diff --git a/.github/workflows/build_bitacross.yml b/.github/workflows/build_bitacross.yml index cf61af2b09..dfc10803b0 100644 --- a/.github/workflows/build_bitacross.yml +++ b/.github/workflows/build_bitacross.yml @@ -22,15 +22,11 @@ jobs: source /opt/intel/sgxsdk/environment ./bitacross-worker/scripts/litentry/release/build.sh true true - # - name: Dockerhub login - # uses: docker/login-action@v3 - # with: - # username: ${{ secrets.DOCKERHUB_USERNAME }} - # password: ${{ secrets.DOCKERHUB_PASSWORD }} - - # - name: Push worker image - # run: | - # docker push litentry/bitacross-worker:${{ github.event.inputs.ref || github.ref }} + - name: Upload artefacts + uses: actions/upload-artifact@v4 + with: + name: bitacross-worker + path: ./bitacross-worker/enclave_release/* - name: Fail early if: failure() diff --git a/bitacross-worker/Makefile b/bitacross-worker/Makefile index 12470fe990..dec8fc9ec6 100755 --- a/bitacross-worker/Makefile +++ b/bitacross-worker/Makefile @@ -74,7 +74,7 @@ SGX_COMMON_CFLAGS += -fstack-protector ifeq ($(SGX_PRODUCTION), 1) SGX_ENCLAVE_MODE = "Production Mode" SGX_ENCLAVE_CONFIG = "enclave-runtime/Enclave.config.production.xml" - SGX_SIGN_KEY = "/opt/enclave_release/sgx_sign_key.pem" + SGX_SIGN_KEY = $(SGX_COMMERCIAL_KEY) SGX_SIGN_PASSFILE = $(SGX_PASSFILE) WORKER_FEATURES := --features=link-binary,$(WORKER_MODE),$(WORKER_FEATURES),$(ADDITIONAL_FEATURES) else