Fix deprecated codesign command
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -66,14 +66,14 @@ signs:
|
|||||||
- cmd: sh
|
- cmd: sh
|
||||||
env:
|
env:
|
||||||
- COSIGN_EXPERIMENTAL=1
|
- COSIGN_EXPERIMENTAL=1
|
||||||
certificate: "${artifact}.pem"
|
signature: "${artifact}.bundle"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
if [ "{{ .IsSnapshot }}" = "true" ]; then
|
if [ "{{ .IsSnapshot }}" = "true" ]; then
|
||||||
echo "Skipping signing (snapshot: {{ .IsSnapshot }})"
|
echo "Skipping signing (snapshot: {{ .IsSnapshot }})"
|
||||||
else
|
else
|
||||||
cosign sign-blob --output-certificate="${certificate}" --output-signature="${signature}" "${artifact}" --yes
|
cosign sign-blob --bundle="${signature}" "${artifact}" --yes
|
||||||
fi
|
fi
|
||||||
artifacts: checksum
|
artifacts: checksum
|
||||||
output: true
|
output: true
|
||||||
|
|||||||
Reference in New Issue
Block a user