-
-
Notifications
You must be signed in to change notification settings - Fork 99
49 lines (46 loc) · 1.2 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Deploy
on:
push:
branches:
- master
- develop
- rel*
tags:
- latest
- v*
jobs:
ghcr:
strategy:
fail-fast: false
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install libluajit-5.1-dev luajit luarocks
- name: Configure
run: |
echo "REF=${GITHUB_REF##refs/*/}" >> $GITHUB_ENV
./bootstrap.sh
./configure \
BSDTAR=false \
FCMATCH=true \
PDFINFO=false \
--enable-developer-mode \
--without-developer-tools \
DOCKER=$(which docker) \
--without-harfbuzz \
--disable-font-variations
- name: Publish Docker Image to GH Container Registry
run: |
make docker-build-push
env:
DOCKER_REGISTRY: ghcr.io
DOCKER_REPO: ${{ github.repository }}
DOCKER_TAG: ${{ env.REF }}
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PAT: ${{ secrets.CR_SILE_TYPESETTER }}