From 2871bbcf7708113341436b92d6383f1951cccdfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 22 Jun 2022 17:55:04 +0200 Subject: [PATCH] Do not validate scratch (#148) --- builder.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builder.sh b/builder.sh index b226fe0..6fef5ae 100755 --- a/builder.sh +++ b/builder.sh @@ -770,6 +770,11 @@ function codenotary_validate() { local platform=$4 local success=false + if [ "$image" == "scratch" ]; then + bashio::log.info "Scratch image, skiping CodeNotary validation" + return 0 + fi + if ! bashio::var.has_value "${trust}"; then return 0 fi