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

Ci #3

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Ci #3

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll also want to move this image at some point

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
Loading