Fix build by enabling Cosign experimental
Cosign 1.12.0 comes with a breaking change where verify blob requires `COSIGN_EXPERIMENTAL=1` Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
9ab1522271
commit
1ff0a20a0e
|
@ -40,7 +40,7 @@ download_files() {
|
||||||
cosign_verify(){
|
cosign_verify(){
|
||||||
[[ $# -eq 3 ]] || fatal 'cosign_verify needs exactly 3 arguments'
|
[[ $# -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'
|
[[ $? -eq 0 ]] || fatal 'signature verification failed'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue