Skip to content

Commit 3e3cce3

Browse files
committed
fedora: build rawhide weekly
1 parent 96237c3 commit 3e3cce3

1 file changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/fedora.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ on:
99
- 'fedora.44/Dockerfile'
1010
schedule:
1111
- cron: '0 3 1 * *'
12-
# 1st of the month at 03:00
12+
# 1st of the month at 03:00 for stable releases
13+
- cron: '0 3 * * 1'
14+
# Every Monday at 03:00 for development releases
1315
workflow_dispatch:
1416

1517
jobs:
16-
build:
18+
build_stable:
1719
strategy:
1820
fail-fast: false
1921
matrix:
2022
cfg:
2123
- version: 42
2224
- version: 43
23-
- version: 44
2425

2526
name: Build Fedora ${{ matrix.cfg.version }}
2627
runs-on: ubuntu-latest
28+
if: github.event.schedule != '0 3 * * 1'
2729

2830
steps:
2931
- name: Checkout repository
@@ -37,3 +39,25 @@ jobs:
3739
docker-image-tag: ${{ matrix.cfg.version }}
3840
dockerfile-path: ./fedora.${{ matrix.cfg.version }}/Dockerfile
3941

42+
build_development:
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
cfg:
47+
- version: 44
48+
49+
name: Build Fedora ${{ matrix.cfg.version }}
50+
runs-on: ubuntu-latest
51+
if: github.event.schedule != '0 3 1 * *'
52+
53+
steps:
54+
- name: Checkout repository
55+
uses: actions/checkout@v4
56+
57+
- name: Build Fedora ${{ matrix.cfg.version }}
58+
uses: pmorelli92/github-container-registry-build-push@2.2.1
59+
with:
60+
github-push-secret: ${{secrets.GITHUB_TOKEN}}
61+
docker-image-name: fedora
62+
docker-image-tag: ${{ matrix.cfg.version }}
63+
dockerfile-path: ./fedora.${{ matrix.cfg.version }}/Dockerfile

0 commit comments

Comments
 (0)