Skip to content

Commit

Permalink
fix: pull main kernel version from base-atomic (#46)
Browse files Browse the repository at this point in the history
* fix: pull main kernel version from base-atomic

* Update reusable-build.yml
  • Loading branch information
RoyalOughtness authored Dec 21, 2024
1 parent 295e5e6 commit 1e906bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ jobs:
linux=$($dnf repoquery --repoid linux-surface --whatprovides kernel-surface | sort -V | tail -n1 | sed 's/.*://')
;;
"main")
linux=$(skopeo inspect docker://quay.io/fedora-ostree-desktops/base:${{ matrix.fedora_version }} | jq -r '.Labels["ostree.linux"]' )
base_image_name="base"
if [[ ${{ matrix.fedora_version }} > 40 ]]; then
base_image_name+="-atomic"
fi
linux=$(skopeo inspect docker://quay.io/fedora-ostree-desktops/$base_image_name:${{ matrix.fedora_version }} | jq -r '.Labels["ostree.linux"]' )
;;
"coreos-stable")
coreos_kernel stable
Expand Down

0 comments on commit 1e906bb

Please sign in to comment.