Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit fae1de9

Browse files
Update reusable-build.yml
1 parent ab31125 commit fae1de9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/reusable-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ jobs:
152152
linux=$($dnf repoquery --repoid linux-surface --whatprovides kernel-surface | sort -V | tail -n1 | sed 's/.*://')
153153
;;
154154
"main")
155-
linux=$(skopeo inspect docker://quay.io/fedora-ostree-desktops/base-atomic:${{ matrix.fedora_version }} | jq -r '.Labels["ostree.linux"]' )
155+
base_image_name="base"
156+
if [[ ${{ matrix.fedora_version }} > 40 ]]; then
157+
base_image_name+="-atomic"
158+
fi
159+
linux=$(skopeo inspect docker://quay.io/fedora-ostree-desktops/$base_image_name:${{ matrix.fedora_version }} | jq -r '.Labels["ostree.linux"]' )
156160
;;
157161
"coreos-stable")
158162
coreos_kernel stable

0 commit comments

Comments
 (0)