1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

docs: install

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2021-09-03 00:04:26 -03:00
parent d5d494f001
commit 3f650b1863
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -162,7 +162,7 @@ You can verify it using [our public key](https://goreleaser.com/static/gorelease
-signature checksums.txt.sig \
checksums.txt
```
1. If the signature is ok, you can then verify the SHA256 sums match with the downloaded binary:
1. If the signature is valid, you can then verify the SHA256 sums match with the downloaded binary:
```sh
sha256sum --ignore-missing -c checksums.txt
```
@ -174,17 +174,33 @@ Our Docker image is signed with [cosign][].
You can verify it using [our public key](https://goreleaser.com/static/goreleaser.pub).
=== "OSS"
```sh
wget https://goreleaser.com/static/goreleaser.pub
cosign verify -key goreleaser.pub goreleaser/goreleaser
cosign verify -key goreleaser.pub ghcr.io/goreleaser/goreleaser
1. Get our public key:
```sh
wget https://goreleaser.com/static/goreleaser.pub
```
1. Verify the signatures:
```sh
cosign verify \
-key goreleaser.pub \
goreleaser/goreleaser
cosign verify \
-key goreleaser.pub \
ghcr.io/goreleaser/goreleaser
```
=== "Pro"
```sh
wget https://goreleaser.com/static/goreleaser.pub
cosign verify -key goreleaser.pub goreleaser/goreleaser-pro
cosign verify -key goreleaser.pub ghcr.io/goreleaser/goreleaser-pro
1. Get our public key:
```sh
wget https://goreleaser.com/static/goreleaser.pub
```
1. Verify the signatures:
```sh
cosign verify \
-key goreleaser.pub \
goreleaser/goreleaser-pro
cosign verify \
-key goreleaser.pub \
ghcr.io/goreleaser/goreleaser-pro
```
## Running with Docker