bootc-base-images/.github/workflows/ci.yml

34 lines
759 B
YAML

name: ci
on:
pull_request:
branches:
- main
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: quay.io/centos-boot/builder:latest@sha256:40a3e8c20709efd7dc17e474d6d3da31f727956d2ad212bbb622821ecafb8adf
options: --privileged
strategy:
matrix:
os: [fedora]
tier: [tier-1]
include:
- os: fedora
version: eln
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Build
run: |
rpm-ostree compose image --format=ociarchive \
--initialize ${{ matrix.os }}-${{ matrix.tier }}${{ matrix.variant }}-${{ matrix.version }}.yaml \
dest.oci-archive