Skip to content

Commit

Permalink
Do not validate scratch (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Jun 22, 2022
1 parent 0965ae0 commit 2871bbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2871bbc

Please sign in to comment.