Skip to content

Commit

Permalink
docs(readme): refactor, add links
Browse files Browse the repository at this point in the history
  • Loading branch information
Windemiatrix committed May 29, 2024
1 parent 68b464a commit 0ffebfb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,15 @@

## Cosign keys

First, you need to create/generate a password for private key. Then generate keys:
First, you need to create/generate a password for private key. Then generate keys with:

1. With docker
1. [Official binary](https://docs.sigstore.dev/system_config/installation/)

```bash
COSIGN_PASSWORD=<your_private_key_password> cosign generate-key-pair
```

2. [Docker image by VMware](https://hub.docker.com/r/bitnami/cosign/)

```bash
docker run --rm -it \
Expand All @@ -24,12 +30,6 @@ First, you need to create/generate a password for private key. Then generate key
generate-key-pair
```

2. With binary:

```bash
COSIGN_PASSWORD=<your_private_key_password> cosign generate-key-pair
```

Store keys in GitHub Action Secrets:

- COSIGN_PASSWORD - a password for private key
Expand Down

0 comments on commit 0ffebfb

Please sign in to comment.