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