This commit is contained in:
@@ -27,16 +27,22 @@ jobs:
|
|||||||
- name: Debug Ls
|
- name: Debug Ls
|
||||||
run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}"
|
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
|
- name: Compile all .typ files
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
env:
|
env:
|
||||||
TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }}
|
TYPST_SOURCE_DIR: ${{ env.TYPST_SOURCE_DIR }}
|
||||||
BUILD_DIR: ${{ env.BUILD_DIR }}
|
BUILD_DIR: ${{ env.BUILD_DIR }}
|
||||||
with:
|
with:
|
||||||
image: ghcr.io/typst/typst:0.14.2
|
image: typst-builder-image:latest
|
||||||
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
|
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
|
||||||
cwd: ${{ github.workspace }}
|
cwd: ${{ github.workspace }}
|
||||||
run: "cd ${{ github.workspace }} && ls -laF"
|
run: "cd ${{ github.workspace }} && ./compile-all.bash"
|
||||||
|
|
||||||
|
|
||||||
- name: Upload PDFs
|
- name: Upload PDFs
|
||||||
|
|||||||
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM ghcr.io/typst/typst:latest
|
||||||
|
|
||||||
|
RUN apk add --no-cache bash
|
||||||
Reference in New Issue
Block a user