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

Commit

Permalink
Use GHA workflow for quick feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
lmilbaum committed Dec 4, 2023
1 parent 53df1ad commit bcc7798
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 66 deletions.
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
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

0 comments on commit bcc7798

Please sign in to comment.