There was an error while loading. Please reload this page.
1 parent f86e309 commit 59a549dCopy full SHA for 59a549d
1 file changed
.github/workflows/reusable-build.yml
@@ -257,9 +257,8 @@ jobs:
257
run: |
258
set -euo pipefail
259
260
- cosign_version="$(cosign version)"
261
- printf '%s\n' "$cosign_version"
262
- [[ "$cosign_version" == *"GitVersion: v3.1.2"* ]]
+ cosign version
+ [[ "$(cosign version --json | jq -r '.gitVersion')" == "v3.1.2" ]]
263
command -v gh
264
gh --version
265
0 commit comments