mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-25 06:35:25 +00:00
efc52956bd
* refactor(ci): retry image pull/push, fix oci labels This is now a single place in the build workflow where kernel_version can be specified to pull the desired akmods image (assuming it was build and tagged correctly) which also impacts the rest of the workflow and the Containerfile logic for replacing kernel, or not replacing kernel. This is the new `kernel_flavor` include in the matrix configuration. Current valid values would be: main, fsync, or fsync-lts other included changes: - pre-pull source images before building (makes building more reliable) - add retry action for image push/pulls (makes building more reliable) - rename FEDORA_MAJOR_VERSION/major_version to FEDORA_VERSION/fedora_version (in matrix vars) (this is easier to read) - read kernel version from akmods image and use to populate ostree.linux label on the built images (ostree image version is inherited) - remove some redundant workflow env vars where matrix vars exist * refactor(ci): remove extraneous excludes * refactor(ci): inherit image.version, use KERNEL_VERSION for ostree.linux * refactor(ci): fix env var definition * refactor(ci): fix trailing double ampersand add echo * refactor(ci): correct AKMODS_FLAVOR reference * refactor(ci): target_image_flavor instead of base_image_flavor * chore: always cliwrap install kernel section * refactor(ci): revert FEDORA_MAJOR_VERSION for Containerfile