From 4867950d9b1c764ea179164b7146208f9cb88799 Mon Sep 17 00:00:00 2001 From: Matt Gleason Date: Fri, 22 Sep 2023 20:39:44 -0400 Subject: [PATCH] SFT-2325: debugging cosign not found during actions --- .github/workflows/validate_and_build.yaml | 1 + ports/stm32/Justfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/validate_and_build.yaml b/.github/workflows/validate_and_build.yaml index d587a43dd..9ea0755b3 100644 --- a/.github/workflows/validate_and_build.yaml +++ b/.github/workflows/validate_and_build.yaml @@ -81,6 +81,7 @@ jobs: echo "version=$(cat version.txt)" >> $GITHUB_ENV just sign signing_key.pem "${version}" ${{ matrix.build.screen }} + which cosign just ports/stm32/hash build-Passport/v${version}-beta${{ matrix.build.suffix }}.bin ${{ matrix.build.screen}} env: SIGNING_KEY: ${{ secrets.UserSigningKey }} diff --git a/ports/stm32/Justfile b/ports/stm32/Justfile index e43c4d1a0..c32d4b6ff 100644 --- a/ports/stm32/Justfile +++ b/ports/stm32/Justfile @@ -337,6 +337,8 @@ hash filepath screen="mono" output_file="": echo "$md5" > ${directory}/${release_name}-md5 # Build Hash + which cosign + testing=`which cosign` build_hash=`cosign -t {{screen}} -p -f {{filepath}} | sed -rn 's/^FW Build Hash: (.*)$/\1/p'` echo "$build_hash" > ${directory}/${release_name}-build-hash