mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-09-03 06:50:46 +00:00
Use GHA workflow for quick feedback
This commit is contained in:
parent
53df1adbd7
commit
bcc7798b96
2 changed files with 36 additions and 66 deletions
36
.github/workflows/build-image.yml
vendored
Normal file
36
.github/workflows/build-image.yml
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: Build Image
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: quay.io/centos-bootc/builder:latest
|
||||
options: --privileged
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [fedora, centos]
|
||||
include:
|
||||
- os: fedora
|
||||
version: eln
|
||||
- os: centos
|
||||
version: stream9
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
rpm-ostree compose image --format=ociarchive \
|
||||
--initialize ${{ matrix.os }}-bootc.yaml dest.oci-archive
|
||||
Loading…
Add table
Add a link
Reference in a new issue