-
-
Notifications
You must be signed in to change notification settings - Fork 2
63 lines (55 loc) · 1.84 KB
/
fedora.yml
File metadata and controls
63 lines (55 loc) · 1.84 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Create Fedora Docker images containing all the packages required for a full build of NeoMutt.
name: Fedora
on:
push:
paths:
- '.github/workflows/fedora.yml'
- 'fedora.42/Dockerfile'
- 'fedora.43/Dockerfile'
- 'fedora.44/Dockerfile'
schedule:
- cron: '0 3 1 * *'
# 1st of the month at 03:00 for stable releases
- cron: '0 3 * * 1'
# Every Monday at 03:00 for development releases
workflow_dispatch:
jobs:
build_stable:
strategy:
fail-fast: false
matrix:
cfg:
- version: 42
- version: 43
name: Build Fedora ${{ matrix.cfg.version }}
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.event.schedule == '0 3 1 * *'
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Build Fedora ${{ matrix.cfg.version }}
uses: pmorelli92/github-container-registry-build-push@2.2.1
with:
github-push-secret: ${{secrets.GITHUB_TOKEN}}
docker-image-name: fedora
docker-image-tag: ${{ matrix.cfg.version }}
dockerfile-path: ./fedora.${{ matrix.cfg.version }}/Dockerfile
build_development:
strategy:
fail-fast: false
matrix:
cfg:
- version: 44
name: Build Fedora ${{ matrix.cfg.version }}
runs-on: ubuntu-latest
if: github.event_name != 'schedule' || github.event.schedule == '0 3 * * 1'
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Build Fedora ${{ matrix.cfg.version }}
uses: pmorelli92/github-container-registry-build-push@2.2.1
with:
github-push-secret: ${{secrets.GITHUB_TOKEN}}
docker-image-name: fedora
docker-image-tag: ${{ matrix.cfg.version }}
dockerfile-path: ./fedora.${{ matrix.cfg.version }}/Dockerfile