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

Use GHA workflow for a quick feedback #82

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
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
66 changes: 0 additions & 66 deletions .github/workflows/build-and-push-image.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
@@ -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
lmilbaum marked this conversation as resolved.
Show resolved Hide resolved
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