parent
9899ce98f7
commit
20d284c6ee
5 changed files with 125 additions and 0 deletions
35
.forgejo/workflows/build-fedora-42.yml
Normal file
35
.forgejo/workflows/build-fedora-42.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
paths:
|
||||
- "fedora-42/**"
|
||||
- "fedora-42-minimal/**"
|
||||
- "shared/**"
|
||||
- ".forgejo/workflows/build-fedora-42.yml"
|
||||
schedule:
|
||||
- cron: "0 0 * * 3" # Every Thursday 00:00
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: fedora-41
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version-file: 'package.json'
|
||||
- name: Fulfill Package Manager Cache
|
||||
run: dnf makecache -y --releasever 42
|
||||
- name: Sign in to Image Index
|
||||
run: buildah login code.lightstands.xyz --username ${{ env.GITHUB_ACTOR }} --password ${{ secrets.PUBLICATION_TOKEN }}
|
||||
- name: Build Minimal Images
|
||||
run: DNF_CACHE_PATH=/var/cache/dnf bun shared/build-image.ts code.lightstands.xyz/standcoded/fedora-minimal:42 fedora-42-minimal arm64
|
||||
- name: Push Minimal Images
|
||||
run: buildah manifest push code.lightstands.xyz/standcoded/fedora-minimal:42 --all
|
||||
- name: Build Complete Images
|
||||
run: DNF_CACHE_PATH=/var/cache/dnf bun shared/build-image.ts code.lightstands.xyz/standcoded/fedora:42 fedora-42 arm64
|
||||
- name: Push Complete Images
|
||||
run: buildah manifest push code.lightstands.xyz/standcoded/fedora:42 --all
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue