-
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 882 Bytes
/
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
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: Configure
run: |
echo "REF=${GITHUB_REF##refs/*/}" >> $GITHUB_ENV
./bootstrap.sh
./configure \
GITCLIFF=: TYPOS=:\
--enable-developer-mode \
--without-{bash,fish,zsh}-completion-dir
- 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.GHCR_PAT }}