initial commit
This commit is contained in:
commit
7ccafbd5d1
4 changed files with 62 additions and 0 deletions
35
.forgejo/workflows/build-fedora-40.yml
Normal file
35
.forgejo/workflows/build-fedora-40.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
$schema: https://github.com/SchemaStore/schemastore/raw/master/src/schemas/json/github-workflow.json
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
paths:
|
||||
- "fedora-40/**"
|
||||
- "shared/**"
|
||||
schedule:
|
||||
- cron: "0 0 * * 3" # Every Thursday 00:00
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: linux-lg
|
||||
container:
|
||||
image: fedora:40
|
||||
steps:
|
||||
- name: Install Tools
|
||||
run: 'dnf install -y --setopt install_weak_deps=False buildah qemu-user-static'
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Build Images
|
||||
run: |
|
||||
cd fedora:40 && \
|
||||
buildah manifest create code.lightstands.xyz/standcoded/fedora:40 && \
|
||||
buildah build --arch amd64 --manifest code.lightstands.xyz/standcoded/fedora:40 . && \
|
||||
buildah build --arch aarch64 --manifest code.lightstands.xyz/standcoded/fedora:40 .
|
||||
- name: Push Images
|
||||
run: |
|
||||
buildah login code.lightstands.xyz \
|
||||
--username ${{ env.GITHUB_ACTOR }} --password ${{ env.GITHUB_TOKEN }}
|
||||
buildah manifest push code.lightstands.xyz/standcoded/fedora:40 --all
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue