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

Ci

Ci #4

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
container:
image: registry.gitlab.com/centos/cloud/sagano-builder/centos:stream9
strategy:
matrix:
os: [centos, fedora]
tier: [tier-0, tier-1]
include:
- os: centos
variant: ""
version: stream9
- os: centos
variant: "-rt"
version: stream9
- os: fedora
variant: ""
version: eln
- os: fedora
variant: "-dev"
version: eln
steps:
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Build
run: set -euo pipefail; rpm-ostree compose image --format=ociarchive --initialize ${{ matrix.os }}-${{ matrix.tier }}${{ matrix.variant }}-${{ matrix.version }}.yaml dest.oci-archive