Skip to content

kernel: USE_LATEST_BUILT_KERNEL: use skopeo to query OCI registries#315

Draft
rpardini wants to merge 1 commit intotinkerbell:mainfrom
rpardini:pr/kernel-USELATESTBUILTKERNEL-use-skopeo-to-query-OCI-registries
Draft

kernel: USE_LATEST_BUILT_KERNEL: use skopeo to query OCI registries#315
rpardini wants to merge 1 commit intotinkerbell:mainfrom
rpardini:pr/kernel-USELATESTBUILTKERNEL-use-skopeo-to-query-OCI-registries

Conversation

@rpardini
Copy link
Member

@rpardini rpardini commented Feb 1, 2026

  • 🌳 Replace direct curl calls with proper skopeo-based implementation
  • 🌵 Add get_latest_kernel_point_release_using_skopeo() helper in docker.sh
  • 🍃 Properly handles authenticated registries (unlike direct curl)
  • 🐸 Filters tags with regex for kernel version pattern (major.minor.point-hash)
  • 🌿 Falls back to kernel.org if registry query fails
  • 🍀 Removes limitation to unauthenticated registries only
  • 🌱 Fixes USE_LATEST_BUILT_KERNEL=yes is broken #310 Assisted-by: Claude Sonnet 4.5

- Replace direct curl calls with proper skopeo-based implementation
- Add get_latest_kernel_point_release_using_skopeo() helper in docker.sh
- Properly handles authenticated registries (unlike direct curl)
- Filters tags with regex for kernel version pattern (major.minor.point-hash)
- Falls back to kernel.org if registry query fails
- Removes limitation to unauthenticated registries only
- Fixes tinkerbell#310

Assisted-by: Claude Sonnet 4.5
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
@rpardini
Copy link
Member Author

rpardini commented Feb 4, 2026

Discussed this during community meeting.
Let's:

  • drop this PR
  • drop USE_LATEST_BUILT_KERNEL completely
  • instead, add a scheduled CI trigger for the whole build (every day)
    • that way, we'll have pre-cached, up-to-date kernels, which should hit most of the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

USE_LATEST_BUILT_KERNEL=yes is broken

1 participant