mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
prepare ORAS tooling early, so we don't get spurious failures "only on first build"
This commit is contained in:
committed by
Igor Pečovnik
parent
4e6fd3a507
commit
2f4f117000
@@ -219,6 +219,9 @@ function obtain_complete_artifact() {
|
||||
function build_artifact_for_image() {
|
||||
initialize_artifact "${WHAT}"
|
||||
|
||||
# Make sure ORAS tooling is installed before starting.
|
||||
run_tool_oras
|
||||
|
||||
# Detour: if building kernel, and KERNEL_CONFIGURE=yes, ignore artifact cache.
|
||||
if [[ "${WHAT}" == "kernel" && "${KERNEL_CONFIGURE}" == "yes" ]]; then
|
||||
display_alert "Ignoring artifact cache for kernel" "KERNEL_CONFIGURE=yes" "info"
|
||||
|
||||
Reference in New Issue
Block a user