diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..34a16f0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM git.janishutz.com/registry/latex-build-full:latest + +WORKDIR /root + +ENTRYPOINT [ "/root/entrypoint.sh" ] diff --git a/action.yml b/action.yml index 2b7acbd..bf35f28 100644 --- a/action.yml +++ b/action.yml @@ -1,17 +1,24 @@ -name: LaTeX Full Compilation -description: Compile LaTeX documents with preset container that supports minted +name: LaTeX compilation (full) +description: Compile LaTeX documents with preset full author: Janis Hutz inputs: + workdir: + description: Directory to compile in + include_helpers: + description: Whether or not to include helpers + default: "false" args: description: Extra arguments to be passed to latexmk - default: "-latexoption=-file-line-error -latexoption=-interaction=nonstopmode" + default: "" extra_system_packages: description: Install extra packages using apk default: "" runs: using: docker - image: git.janishutz.com/registry/latex-build-full:latest + image: Dockerfile args: + - ${{ inputs.file }} + - ${{ inputs.include_helpers }} - ${{ inputs.args }} - ${{ inputs.extra_system_packages }} branding: