This commit is contained in:
parent
2c8b78eb9b
commit
64c4800a76
2 changed files with 2 additions and 7 deletions
|
@ -12,17 +12,11 @@ jobs:
|
||||||
image: quay.io/buildah/stable:latest
|
image: quay.io/buildah/stable:latest
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: download
|
|
||||||
run: curl ${{ github.server_url }}/${{ github.repository }}/archive/main.tar.gz | tar -xz
|
|
||||||
|
|
||||||
- name: login
|
- name: login
|
||||||
run: buildah login -u token -p ${{ secrets.SWABLAB_ORGA_PACKAGE_TOKEN }} git.swablab.de
|
run: buildah login -u token -p ${{ secrets.SWABLAB_ORGA_PACKAGE_TOKEN }} git.swablab.de
|
||||||
|
|
||||||
- name: ls
|
|
||||||
run: ls documents
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: buildah build -f documents/Containerfile -t git.swablab.de/${{ github.repository }}:latest documents
|
run: buildah build -t git.swablab.de/${{ github.repository }}:latest ${{ github.server_url }}/${{ github.repository }}.git
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
run: buildah push git.swablab.de/${{ github.repository }}:latest
|
run: buildah push git.swablab.de/${{ github.repository }}:latest
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FROM docker.io/library/alpine AS build
|
FROM docker.io/library/alpine AS build
|
||||||
|
COPY . .
|
||||||
ENV TYPST_FONT_PATHS=.
|
ENV TYPST_FONT_PATHS=.
|
||||||
RUN apk add typst
|
RUN apk add typst
|
||||||
RUN wget -O ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf &&\
|
RUN wget -O ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf &&\
|
||||||
|
|
Loading…
Add table
Reference in a new issue