Skip to content

Commit e2fcc03

Browse files
committed
docs: update instructions
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent f16fd20 commit e2fcc03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,16 @@ The first thing we need to do, is get the current latest version:
113113
export VERSION="$(gh release list -L 1 -R goreleaser/example-secure --json=tagName -q '.[] | .tagName')"
114114
```
115115

116-
Then, we download the `checksums.txt` file, and verify its signature:
116+
Then, we download the `checksums.txt` and the signature bundle
117+
(`checksums.txt.sigstore.json`) files, and then verify them:
117118

118119
```bash
119120
wget https://github.com/goreleaser/example-secure/releases/download/$VERSION/checksums.txt
121+
wget https://github.com/goreleaser/example-secure/releases/download/$VERSION/checksums.txt.sigstore.json
120122
cosign verify-blob \
121123
--certificate-identity "https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION" \
122124
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
123-
--cert "https://github.com/goreleaser/example-secure/releases/download/$VERSION/checksums.txt.pem" \
124-
--signature "https://github.com/goreleaser/example-secure/releases/download/$VERSION/checksums.txt.sig" \
125+
--bundle "checksums.txt.sigstore.json" \
125126
./checksums.txt
126127
```
127128

0 commit comments

Comments
 (0)