Files
bootc-images/.gitea/workflows/build.yaml
Wesley van Tilburg 3345acfa73
Some checks failed
Build containers / Build and push image (asahi-cosmic, 43) (push) Failing after 1h15m45s
ci: rework build
2026-02-26 13:19:59 +00:00

44 lines
1.3 KiB
YAML

name: Build containers
on:
workflow_dispatch:
pull_request:
branches: ["main"]
push:
branches: ["main"]
jobs:
build_push:
name: Build and push image
runs-on: wesley-arm
strategy:
fail-fast: false
matrix:
image: [asahi-cosmic]
version: [43] #Build current stable,next stable/rawhide (if not branched)
container:
image: "quay.io/fedora-ostree-desktops/buildroot:${{ matrix.version }}"
options: "--security-opt=label=disable --privileged --user 0:0 --device=/dev/fuse --volume /:/run/host:rw"
steps:
- name: Install latest rpm-ostree package from testing repos
run: |
dnf upgrade -y --enablerepo=updates-testing --refresh rpm-ostree
dnf install -y nodejs
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
sudo ./builder.sh asahi-cosmic 43
- name: Login to Container Registry
uses: redhat-actions/podman-login@v1
if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}