diff --git a/.github/workflows/example-doc.yml b/.github/workflows/example-doc.yml index b1d94d1..adac10b 100644 --- a/.github/workflows/example-doc.yml +++ b/.github/workflows/example-doc.yml @@ -19,13 +19,25 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build Docker + uses: docker/build-push-action@v6 + with: + context: . + tags: openjournals/inara:edgiest + - name: Build draft PDF run: >- docker run \ --volume "$(pwd):/data" \ --user "$(id -u):$(id -g)" \ - openjournals/inara:latest \ - -o "jats,contextpdf,crossref,preprint,pdf" example/paper.md + openjournals/inara:edgiest \ + -o "jats,contextpdf,crossref,preprint,tex,pdf" example/paper.md - name: Upload draft PDF uses: actions/upload-artifact@v3 @@ -45,7 +57,7 @@ jobs: --volume "$(pwd):/data" \ --user "$(id -u):$(id -g)" \ openjournals/inara:latest \ - -o "jats,contextpdf,crossref,preprint,pdf" -p example/paper.md + -o "jats,contextpdf,crossref,preprint,tex,pdf" -p example/paper.md - name: Upload production PDF uses: actions/upload-artifact@v3