Merge pull request #900 from fluxcd/fix-build-cosign

Fix build by enabling Cosign experimental
This commit is contained in:
Stefan Prodan 2022-09-15 19:15:33 +03:00 committed by GitHub
commit 7b4a1934ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ download_files() {
cosign_verify(){
[[ $# -eq 3 ]] || fatal 'cosign_verify needs exactly 3 arguments'
cosign verify-blob --cert "$1" --signature "$2" "$3"
COSIGN_EXPERIMENTAL=1 cosign verify-blob --cert "$1" --signature "$2" "$3"
[[ $? -eq 0 ]] || fatal 'signature verification failed'
}