base-images/.github/workflows/ci.yml
Colin Walters ecee1d179d Remove -dev images, and fedora 38
This repository will focus on the distro-matched base images;
we'll use another repository for the COPR/dev stuff.

Fedora 38 is uninteresting as a target; our target will be ELN.
2023-11-04 08:34:34 -04:00

39 lines
868 B
YAML

name: ci
on:
pull_request:
branches:
- main
jobs:
build-image:
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/centos/cloud/sagano-builder/centos:stream9
options: --privileged
strategy:
matrix:
os: [centos, fedora]
tier: [tier-0, tier-1]
include:
- os: centos
version: stream9
- os: centos
variant: ""
- os: centos
variant: "-rt"
- os: fedora
version: eln
steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Build
run: |
rpm-ostree compose image --format=ociarchive \
--initialize ${{ matrix.os }}-${{ matrix.tier }}${{ matrix.variant }}-${{ matrix.version }}.yaml \
dest.oci-archive