diff --git a/.github/workflows/build_bitacross.yml b/.github/workflows/build_bitacross.yml index c4e6a2ece0..836502f2e2 100644 --- a/.github/workflows/build_bitacross.yml +++ b/.github/workflows/build_bitacross.yml @@ -17,8 +17,14 @@ jobs: ref: ${{ github.event.inputs.ref || github.sha }} fetch-depth: 0 + - name: List + run: | + ls -ltr /opt/enclave_release + - name: Build local builder uses: docker/build-push-action@v5 + env: + SGX_COMMERCIAL_KEY: "/opt/enclave_release/sgx_sign_key.pem" with: context: . file: bitacross-worker/build.Dockerfile diff --git a/bitacross-worker/Makefile b/bitacross-worker/Makefile index dec8fc9ec6..12470fe990 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 = $(SGX_COMMERCIAL_KEY) + SGX_SIGN_KEY = "/opt/enclave_release/sgx_sign_key.pem" SGX_SIGN_PASSFILE = $(SGX_PASSFILE) WORKER_FEATURES := --features=link-binary,$(WORKER_MODE),$(WORKER_FEATURES),$(ADDITIONAL_FEATURES) else