Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unpin coreos kernel #42

Merged
merged 5 commits into from
Dec 9, 2024
Merged
Changes from 2 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
8 changes: 4 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ jobs:
coreos_kernel () {
coreos_version=${1}
image_linux=$(skopeo inspect docker://quay.io/fedora/fedora-coreos:${coreos_version} | jq -r '.Labels["ostree.linux"]')
# Gross Pin... But workaround coreos-stable being on a broken kernel...
if [[ "${{ matrix.kernel_flavor }}" == "coreos-stable" ]]; then
image_linux="6.11.3-300.fc41.x86_64"
castrojo marked this conversation as resolved.
Show resolved Hide resolved
fi
# Pin a kernel here, gross workaround TODO: Make this cleaner
# if [[ "${{ matrix.kernel_flavor }}" == "coreos-stable" ]]; then
# image_linux="6.11.3-300.fc41.x86_64"
# fi
major_minor_patch=$(echo $image_linux | grep -oP '^\d+\.\d+\.\d+')
kernel_rel_part=$(echo $image_linux | grep -oP '^\d+\.\d+\.\d+\-\K([123][0]{2})')
arch=$(echo $image_linux | grep -oP 'fc\d+\.\K.*$')
Expand Down