Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/_reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
fetch-depth: 1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
timeout-minutes: 5
with:
driver: docker-container
install: true

- name: Build Docker image
uses: docker/build-push-action@v6.9.0
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8
timeout-minutes: 30
with:
context: .
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# SGX Docs stage
FROM teaclave/teaclave-build-ubuntu-1804-sgx-2.14:latest AS sgx-docs
FROM teaclave/teaclave-build-ubuntu-2004-sgx-2.17.1:0.2.0 AS sgx-docs
WORKDIR /app
RUN (apt update || true) && apt install -y ca-certificates && update-ca-certificates
COPY sgx-sdk-api-docs /app/sgx-sdk-api-docs
RUN . "$HOME/.cargo/env" && cd sgx-sdk-api-docs && cargo doc
RUN mkdir -p /prebuilt_docs && \
cp -r sgx-sdk-api-docs/target/doc /prebuilt_docs/sgx-sdk-docs

# Trustzone Docs stage
FROM teaclave/teaclave-trustzone-emulator-std-optee-4.5.0-expand-memory:latest AS tz-docs
FROM teaclave/teaclave-trustzone-emulator-std-expand-memory:latest AS tz-docs
WORKDIR /app
COPY tz-sdk-api-docs /app/tz-sdk-api-docs
RUN . /opt/teaclave/setup/bootstrap_env && \
. /opt/teaclave/environment && \
. $HOME/.cargo/env && \
cd tz-sdk-api-docs && cargo doc
RUN mkdir -p /prebuilt_docs && \
cp -r tz-sdk-api-docs/target/doc /prebuilt_docs/tz-sdk-docs
Expand Down Expand Up @@ -45,4 +45,4 @@ RUN apt-get update && apt-get install -y \
python3-pip \
git \
curl
RUN pip3 install --break-system-packages ghp-import
RUN pip3 install --break-system-packages ghp-import
Loading