From 99ded82ad3d1c71454eec20c3bbd553eeb7a429f Mon Sep 17 00:00:00 2001 From: alexander Date: Sun, 14 Dec 2025 22:01:11 +0100 Subject: [PATCH] asd --- .gitea/workflows/build-script.yaml | 10 ++++++++-- Dockerfile | 3 +++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index f1bd77e..705f288 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -27,16 +27,22 @@ jobs: - name: Debug Ls run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}" + - name: Build Typst builder image + uses: docker/build-push-action@v2 + with: + tags: typst-builder-image:latest + push: false + - name: Compile all .typ files uses: addnab/docker-run-action@v3 env: TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }} BUILD_DIR: ${{ env.BUILD_DIR }} with: - image: ghcr.io/typst/typst:0.14.2 + image: typst-builder-image:latest options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} cwd: ${{ github.workspace }} - run: "cd ${{ github.workspace }} && ls -laF" + run: "cd ${{ github.workspace }} && ./compile-all.bash" - name: Upload PDFs diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..13a2374 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM ghcr.io/typst/typst:latest + +RUN apk add --no-cache bash \ No newline at end of file