Skip to content

Commit

Permalink
Add a cosign command to release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Nov 6, 2024
1 parent ba7bc74 commit 91796c6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/generate-release-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ jobs:
gpslogger/gpslogger-*.apk.asc
gpslogger/gpslogger-*.apk.SHA256
gpslogger/cosign.bundle
- name: Get APK file name
id: apk_file_name
- name: Get APK and WORKFLOW REF
id: references
run: |
APK_FILE_NAME=$(find gpslogger/ -maxdepth 1 -name "gpslogger-*.apk" -print -quit | xargs basename)
echo "APK_FILE_NAME=$APK_FILE_NAME" >> "$GITHUB_OUTPUT"
echo "GITHUB_WORKFLOW_REF=$GITHUB_WORKFLOW_REF" >> "$GITHUB_OUTPUT"
- name: Create a Release
id: create-release
uses: softprops/action-gh-release@v2
Expand All @@ -77,10 +78,9 @@ jobs:
make_latest: true
body: |
Verification:
cosign verify-blob ${{ steps.apk_file_name.outputs.APK_FILE_NAME }} --bundle cosign.bundle --new-bundle-format --cert-oidc-issuer https://token.actions.githubusercontent.com --cert-identity https://github.com/${GITHUB_WORKFLOW_REF}
```
cosign verify-blob ${{ steps.references.outputs.APK_FILE_NAME }} --bundle cosign.bundle --new-bundle-format --cert-oidc-issuer https://token.actions.githubusercontent.com --cert-identity https://github.com/${{ steps.references.outputs.GITHUB_WORKFLOW_REF }}
```
files: |
gpslogger/gpslogger-*.apk
gpslogger/gpslogger-*.apk.asc
Expand Down

0 comments on commit 91796c6

Please sign in to comment.