Skip to content

Commit 263db08

Browse files
committed
pkg: Add support for Fedora 36 and drop Fedora 33
1 parent 426dd79 commit 263db08

File tree

1 file changed

+43
-34
lines changed

1 file changed

+43
-34
lines changed

.github/workflows/package.yml

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ jobs:
102102
name: arch-latest
103103
path: release
104104

105-
build-f35:
106-
name: Build Fedora 35 package
105+
build-f36:
106+
name: Build Fedora 36 package
107107
runs-on: ubuntu-latest
108108
container:
109-
image: fedora:35
109+
image: fedora:36
110110
options: --security-opt seccomp=unconfined
111111
steps:
112112
- name: Checkout code
@@ -140,13 +140,15 @@ jobs:
140140
- name: Upload artifacts
141141
uses: actions/upload-artifact@v1
142142
with:
143-
name: fedora-35-latest
143+
name: fedora-36-latest
144144
path: fedora/out/noarch
145145

146-
build-f34:
147-
name: Build Fedora 34 package
146+
build-f35:
147+
name: Build Fedora 35 package
148148
runs-on: ubuntu-latest
149-
container: fedora:34
149+
container:
150+
image: fedora:35
151+
options: --security-opt seccomp=unconfined
150152
steps:
151153
- name: Checkout code
152154
uses: actions/checkout@v2
@@ -179,13 +181,13 @@ jobs:
179181
- name: Upload artifacts
180182
uses: actions/upload-artifact@v1
181183
with:
182-
name: fedora-34-latest
184+
name: fedora-35-latest
183185
path: fedora/out/noarch
184186

185-
build-f33:
186-
name: Build Fedora 33 package
187+
build-f34:
188+
name: Build Fedora 34 package
187189
runs-on: ubuntu-latest
188-
container: fedora:33
190+
container: fedora:34
189191
steps:
190192
- name: Checkout code
191193
uses: actions/checkout@v2
@@ -218,12 +220,12 @@ jobs:
218220
- name: Upload artifacts
219221
uses: actions/upload-artifact@v1
220222
with:
221-
name: fedora-33-latest
223+
name: fedora-34-latest
222224
path: fedora/out/noarch
223225

224226
release:
225227
name: Publish release
226-
needs: [build-deb, build-arch, build-f35, build-f34, build-f33]
228+
needs: [build-deb, build-arch, build-f36, build-f35, build-f34]
227229
runs-on: ubuntu-latest
228230
steps:
229231
- name: Download Debian artifacts
@@ -236,6 +238,11 @@ jobs:
236238
with:
237239
name: arch-latest
238240

241+
- name: Download Fedora 36 artifacts
242+
uses: actions/download-artifact@v1
243+
with:
244+
name: fedora-36-latest
245+
239246
- name: Download Fedora 35 artifacts
240247
uses: actions/download-artifact@v1
241248
with:
@@ -360,12 +367,12 @@ jobs:
360367
git commit -m "Update Arch Linux secure-boot MOK"
361368
git push --set-upstream origin "${update_branch}"
362369
363-
repo-f35:
364-
name: Update Fedora 35 package repository
370+
repo-f36:
371+
name: Update Fedora 36 package repository
365372
needs: [release]
366373
runs-on: ubuntu-latest
367374
container:
368-
image: fedora:35
375+
image: fedora:36
369376
options: --security-opt seccomp=unconfined
370377
steps:
371378
- name: Install dependencies
@@ -375,7 +382,7 @@ jobs:
375382
- name: Download artifacts
376383
uses: actions/download-artifact@v1
377384
with:
378-
name: fedora-35-latest
385+
name: fedora-36-latest
379386

380387
- name: Update repository
381388
env:
@@ -389,8 +396,8 @@ jobs:
389396
git clone -b "${BRANCH_STAGING}" "${repo}" repo
390397
391398
# copy packages
392-
cp fedora-35-latest/* repo/fedora/f35
393-
cd repo/fedora/f35
399+
cp fedora-36-latest/* repo/fedora/f36
400+
cd repo/fedora/f36
394401
395402
# parse git tag from ref
396403
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
@@ -409,14 +416,16 @@ jobs:
409416
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
410417
git checkout -b "${update_branch}"
411418
git add .
412-
git commit -m "Update Fedora 35 secure-boot MOK"
419+
git commit -m "Update Fedora 36 secure-boot MOK"
413420
git push --set-upstream origin "${update_branch}"
414421
415-
repo-f34:
416-
name: Update Fedora 34 package repository
422+
repo-f35:
423+
name: Update Fedora 35 package repository
417424
needs: [release]
418425
runs-on: ubuntu-latest
419-
container: fedora:34
426+
container:
427+
image: fedora:35
428+
options: --security-opt seccomp=unconfined
420429
steps:
421430
- name: Install dependencies
422431
run: |
@@ -425,7 +434,7 @@ jobs:
425434
- name: Download artifacts
426435
uses: actions/download-artifact@v1
427436
with:
428-
name: fedora-34-latest
437+
name: fedora-35-latest
429438

430439
- name: Update repository
431440
env:
@@ -439,8 +448,8 @@ jobs:
439448
git clone -b "${BRANCH_STAGING}" "${repo}" repo
440449
441450
# copy packages
442-
cp fedora-34-latest/* repo/fedora/f34
443-
cd repo/fedora/f34
451+
cp fedora-35-latest/* repo/fedora/f35
452+
cd repo/fedora/f35
444453
445454
# parse git tag from ref
446455
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
@@ -459,14 +468,14 @@ jobs:
459468
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
460469
git checkout -b "${update_branch}"
461470
git add .
462-
git commit -m "Update Fedora 34 secure-boot MOK"
471+
git commit -m "Update Fedora 35 secure-boot MOK"
463472
git push --set-upstream origin "${update_branch}"
464473
465-
repo-f33:
466-
name: Update Fedora 33 package repository
474+
repo-f34:
475+
name: Update Fedora 34 package repository
467476
needs: [release]
468477
runs-on: ubuntu-latest
469-
container: fedora:33
478+
container: fedora:34
470479
steps:
471480
- name: Install dependencies
472481
run: |
@@ -475,7 +484,7 @@ jobs:
475484
- name: Download artifacts
476485
uses: actions/download-artifact@v1
477486
with:
478-
name: fedora-33-latest
487+
name: fedora-34-latest
479488

480489
- name: Update repository
481490
env:
@@ -489,8 +498,8 @@ jobs:
489498
git clone -b "${BRANCH_STAGING}" "${repo}" repo
490499
491500
# copy packages
492-
cp fedora-33-latest/* repo/fedora/f33
493-
cd repo/fedora/f33
501+
cp fedora-34-latest/* repo/fedora/f34
502+
cd repo/fedora/f34
494503
495504
# parse git tag from ref
496505
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
@@ -509,5 +518,5 @@ jobs:
509518
update_branch="${BRANCH_STAGING}-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"
510519
git checkout -b "${update_branch}"
511520
git add .
512-
git commit -m "Update Fedora 33 secure-boot MOK"
521+
git commit -m "Update Fedora 34 secure-boot MOK"
513522
git push --set-upstream origin "${update_branch}"

0 commit comments

Comments
 (0)