This is a pretty straightforward wiring up of the `make rpm` flow and then installing it in a bootc container image. Intended as a starting point both for local development but also wiring up further CI. Signed-off-by: Colin Walters <walters@verbum.org>
22 lines
592 B
YAML
22 lines
592 B
YAML
name: Docker Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Get a newer podman for heredoc support (from debian testing)
|
|
run: |
|
|
set -eux
|
|
echo 'deb [trusted=yes] https://ftp.debian.org/debian/ testing main' | sudo tee /etc/apt/sources.list.d/testing.list
|
|
sudo apt update
|
|
sudo apt install -y crun/testing podman/testing skopeo/testing
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build container
|
|
run: sudo podman build -t localhost/tuned .
|