1
0
Fork 0
tuned/.github/workflows/docker-build.yml
Colin Walters 3bb77df714 Dockerfile: New to build on a bootc image
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>
2025-05-29 16:57:19 -04:00

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 .