File tree Expand file tree Collapse file tree 3 files changed +8
-20
lines changed
Expand file tree Collapse file tree 3 files changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -33,23 +33,11 @@ jobs:
3333 uses : actions/checkout@v4
3434 - name : Setup Pages
3535 uses : actions/configure-pages@v4
36- - name : set up typst
37- shell : sudo -s /bin/bash {0}
38- env :
39- DEBIAN_FRONTEND : noninteractive
40- CARGO_HOME : /usr/bin/cargo
41- run : |
42- apt-get update
43- apt-get install -y libssl-dev curl fonts-font-awesome
44- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
45- chmod +x rustup.sh
46- $PWD/rustup.sh -y
47- . $HOME/.cargo/env
48- cargo install typst-cli
4936 - name : convert to pdf
50- shell : bash
51- run : |
52- which cargo
37+ uses : ' docker://ghcr.io/pmmccorm/pmmccorm/typst-cli:latest'
38+ with :
39+ entrypoint : /usr/bin/typst
40+ args : ' compile resume.typ'
5341 - name : Upload artifact
5442 uses : actions/upload-pages-artifact@v3
5543 with :
Original file line number Diff line number Diff line change 1111
1212permissions :
1313 contents : read
14- id-token : write
14+ packages : write
1515
1616concurrency :
1717 group : " container"
3434 context : .
3535 file : ./Dockerfile
3636 push : true
37- tags : ghcr.io/${{ github.repository_owner }}/${{ github.repository }} :latest
37+ tags : ghcr.io/${{ github.repository_owner }}/typst-cli :latest
Original file line number Diff line number Diff line change 11# !/usr/bin/env -S docker build --pull . -f
2- FROM ubuntu:noble as builder
2+ FROM ubuntu:noble AS builder
33
44ENV DEBIAN_FRONTEND=noninteractive
55RUN apt-get update && apt-get install -y \
@@ -14,7 +14,7 @@ RUN chmod +x rustup.sh && ./rustup.sh --profile minimal -y && rm rustup.sh
1414
1515RUN . /root/.cargo/env && cargo install typst-cli
1616
17- FROM ubuntu:noble as runner
17+ FROM ubuntu:noble AS runner
1818ENV DEBIAN_FRONTEND=noninteractive
1919
2020RUN apt-get update && apt-get install -y fonts-font-awesome && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments