Skip to content

sgx commercial key

sgx commercial key #11

Workflow file for this run

name: Build bitacross-worker
on:
push
env:
CARGO_TERM_COLOR: always
DOCKER_BUILDKIT: 1
jobs:
build-worker:
runs-on: tee-prod-builder
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref || github.sha }}
fetch-depth: 0
- name: Build local builder
uses: docker/build-push-action@v5
env:
SGX_COMMERCIAL_KEY="/opt/enclave_release/sgx_sign_key.pem"

Check failure on line 23 in .github/workflows/build_bitacross.yml

View workflow run for this annotation

GitHub Actions / Build bitacross-worker

Invalid workflow file

The workflow is not valid. .github/workflows/build_bitacross.yml (Line: 23, Col: 11): Unexpected value 'SGX_COMMERCIAL_KEY=**account-key-removed**'
with:
context: .
file: bitacross-worker/build.Dockerfile
tags: local-builder:${{ github.event.inputs.ref || github.sha }}
target: builder
build-args: |
WORKER_MODE_ARG=offchain-worker
SGX_MODE=HW
ADDITIONAL_FEATURES_ARG=
IMAGE_FOR_RELEASE=true
SGX_PRODUCTION=1
- name: Build worker
uses: docker/build-push-action@v5
with:
context: .
file: bitacross-worker/build.Dockerfile
tags: litentry/bitacross-worker:${{ github.event.inputs.ref || github.sha }}
target: deployed-worker
- 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: Fail early
if: failure()
uses: andymckay/[email protected]