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

Commit

Permalink
Merge pull request #3 from lmilbaum/ci
Browse files Browse the repository at this point in the history
Ci
  • Loading branch information
cgwalters committed Nov 1, 2023
2 parents 62f7417 + 2dfaaba commit 2e504b1
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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
- os: fedora
variant: ""
- os: fedora
variant: "-dev"

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

0 comments on commit 2e504b1

Please sign in to comment.