Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

build

build #278

Workflow file for this run

name: build
on:
pull_request:
branches:
- main
schedule:
- cron: 0 4 * * *
push:
branches:
- main
paths-ignore:
- '**/README.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker.io/fedora:rawhide
# Fix SELinux for the built OSTree: https://github.com/coreos/rpm-ostree/issues/1943
options: --privileged --security-opt label:disable
steps:
- name: Install dependencies
run: dnf install -y rpm-ostree selinux-policy selinux-policy-targeted policycoreutils podman
- name: Clone repository
uses: actions/checkout@v4
- name: Login
run: podman login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io
- name: Build OSTree container image and push to registry
uses: Wandalen/wretry.action@master
with:
command: rpm-ostree compose image --initialize --format=registry fedora-lxqt.yaml ghcr.io/ublue-os/lxqt:latest
attempt_limit: 3
attempt_delay: 2000