Merge pull request #2180 from alerque/verbpar #742
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |