chore(ci): add --no-tags to skopeo inspect (#2912)
This is faster and less resource intensive. It usually takes a couple seconds on my machine. We only care about the label on that one image, and not the 3000 other images in the ublue-os/akmods namespace.
This commit is contained in:
parent
99fa24f72e
commit
3110ae30a7
1 changed files with 1 additions and 1 deletions
2
Justfile
2
Justfile
|
|
@ -182,7 +182,7 @@ build $image=default_image $tag=default_tag $flavor=default_flavor $rechunk="fal
|
|||
fi
|
||||
|
||||
if [[ -z "${kernel_pin:-}" ]]; then
|
||||
kernel_release=$(skopeo inspect --retry-times 3 docker://ghcr.io/ublue-os/akmods:"${akmods_flavor}"-"${fedora_version}" | jq -r '.Labels["ostree.linux"]')
|
||||
kernel_release=$(skopeo inspect --no-tags --retry-times 3 docker://ghcr.io/ublue-os/akmods:"${akmods_flavor}"-"${fedora_version}" | jq -r '.Labels["ostree.linux"]')
|
||||
else
|
||||
kernel_release="${kernel_pin}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue