Просмотр исходного кода

Merge pull request #1340 from smallstep/carl/cosign-flags-update

Update cosign usage note
Carl Tashian 3 лет назад
Родитель
Сommit
a815039283
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      .goreleaser.yml

+ 3 - 1
.goreleaser.yml

@@ -156,9 +156,11 @@ release:
     Below is an example using `cosign` to verify a release artifact:
 
     ```
-    COSIGN_EXPERIMENTAL=1 cosign verify-blob \
+    cosign verify-blob \
       --certificate ~/Downloads/step-ca_darwin_{{ .Version }}_amd64.tar.gz.sig.pem \
       --signature ~/Downloads/step-ca_darwin_{{ .Version }}_amd64.tar.gz.sig \
+      --certificate-identity-regexp "https://github\.com/smallstep/certificates/.*" \
+      --certificate-oidc-issuer https://token.actions.githubusercontent.com \
       ~/Downloads/step-ca_darwin_{{ .Version }}_amd64.tar.gz
     ```