-
-
Notifications
You must be signed in to change notification settings - Fork 7
44 lines (41 loc) · 1.06 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
name: Deploy
on:
push:
branches:
- master
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: Fetch tags
run: |
git fetch --prune --tags ||:
- name: Setup system dependencies
run: |
sudo apt-get install clang mold
- name: Configure
run: |
./bootstrap.sh
./configure \
--without-{bash,fish,zsh}-completion-dir \
--enable-developer-mode \
--disable-dependency-checks \
CURL=curl DOCKER=docker DIFF=diff TR=tr SORT=sort
- name: Publish Docker Image to GH Container Registry
run: |
make docker-build-push
env:
DOCKER_REGISTRY: ghcr.io
DOCKER_REPO: ${{ github.repository }}
DOCKER_TAG: ${{ github.ref_name }}
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PAT: ${{ secrets.CR_FONTSHIP }}