Skip to content

Commit

Permalink
SFT-2325: debugging cosign not found during actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjg-foundation committed Sep 23, 2023
1 parent 29c7f51 commit 4867950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/validate_and_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions ports/stm32/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4867950

Please sign in to comment.