34 lines
759 B
YAML
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:fa814ae44e9c962f39020e0020111bb9d4cfdb52acc27dae2ca9d7fe301b61c3
|
|
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
|