|
| 1 | +# Valkey |
| 2 | + |
| 3 | +Minimal Python image based on Wolfi. |
| 4 | + |
| 5 | +## Versions |
| 6 | + |
| 7 | +| 📌 Version | ⬇️ Pull URL | |
| 8 | +| ---------- | --------------------------------------------- | |
| 9 | +| latest | ghcr.io/gitguardian/wolfi/valkey:latest | |
| 10 | +| latest-dev | ghcr.io/gitguardian/wolfi/valkey:latest-dev | |
| 11 | +| 8.1 | ghcr.io/gitguardian/wolfi/valkey:8.1 | |
| 12 | +| 8.1-dev | ghcr.io/gitguardian/wolfi/valkey:8.1-dev | |
| 13 | + |
| 14 | + |
| 15 | +## ✅ Verify the Provenance |
| 16 | + |
| 17 | +```shell |
| 18 | +gh attestation verify \ |
| 19 | + --owner gitguardian \ |
| 20 | + oci://ghcr.io/gitguardian/wolfi/valkey:latest |
| 21 | +``` |
| 22 | + |
| 23 | +- **Shell image** |
| 24 | + |
| 25 | +```shell |
| 26 | +gh attestation verify \ |
| 27 | + --owner gitguardian \ |
| 28 | + oci://ghcr.io/gitguardian/wolfi/valkey:latest-shell |
| 29 | +``` |
| 30 | + |
| 31 | +## 📦 **Image Verification** |
| 32 | +cosign verify \ |
| 33 | + --certificate-oidc-issuer=https://token.actions.githubusercontent.com \ |
| 34 | + --certificate-identity=https://github.com/GitGuardian/wolfi/.github/workflows/release.yaml@refs/heads/main \ |
| 35 | + ghcr.io/gitguardian/wolfi/valkey:latest | jq |
| 36 | +``` |
| 37 | +
|
| 38 | +- **Shell image** |
| 39 | +cosign verify \ |
| 40 | + --certificate-oidc-issuer=https://token.actions.githubusercontent.com \ |
| 41 | + --certificate-identity=https://github.com/GitGuardian/wolfi/.github/workflows/release.yaml@refs/heads/main \ |
| 42 | + ghcr.io/gitguardian/wolfi/valkey:latest-shell | jq |
| 43 | +``` |
| 44 | + |
| 45 | +### 📦 **Image SBOMs** |
| 46 | + --type=https://spdx.dev/Document \ |
| 47 | + --certificate-oidc-issuer=https://token.actions.githubusercontent.com \ |
| 48 | + --certificate-identity=https://github.com/GitGuardian/wolfi/.github/workflows/release.yaml@refs/heads/main \ |
| 49 | + ghcr.io/gitguardian/wolfi/valkey:latest |
| 50 | +``` |
| 51 | +
|
| 52 | +- **Shell image** |
| 53 | + --type=https://spdx.dev/Document \ |
| 54 | + --certificate-oidc-issuer=https://token.actions.githubusercontent.com \ |
| 55 | + --certificate-identity=https://github.com/GitGuardian/wolfi/.github/workflows/release.yaml@refs/heads/main \ |
| 56 | + ghcr.io/gitguardian/wolfi/valkey:latest-shell |
| 57 | +``` |
| 58 | + |
| 59 | +This will pull in the signature for the attestation specified by the --type parameter, which in this case is the SPDX attestation. You will receive output that verifies the SBOM attestation signature in cosign's transparency log: |
| 60 | + |
| 61 | +```shell |
| 62 | +Verification for ghcr.io/gitguardian/wolfi/valkey:latest -- |
| 63 | +The following checks were performed on each of these signatures: |
| 64 | + - The cosign claims were validated |
| 65 | + - Existence of the claims in the transparency log was verified offline |
| 66 | +Certificate issuer URL: https://token.actions.githubusercontent.com |
| 67 | +GitHub Workflow Trigger: push |
| 68 | +GitHub Workflow SHA: ced6b3cfab1341509de55bff7c0389ce81f73aae |
| 69 | +GitHub Workflow Name: valkey |
| 70 | +GitHub Workflow Repository: GitGuardian/wolfi |
| 71 | +GitHub Workflow Ref: refs/heads/main |
| 72 | +... |
| 73 | +``` |
| 74 | + |
| 75 | +#### ✅ Download the Image SBOM Attestations |
| 76 | + |
| 77 | +To download an attestation, use the `cosign` download attestation command and provide both the predicate type and the build platform. For example, the following command will obtain the SBOM for the valkey image on `linux/amd64`: |
| 78 | + |
| 79 | +- **Production image** |
| 80 | + |
| 81 | +```shell |
| 82 | +cosign download attestation \ |
| 83 | + --platform=linux/amd64 \ |
| 84 | + --predicate-type=https://spdx.dev/Document \ |
| 85 | + ghcr.io/gitguardian/wolfi/valkey:latest | jq -r .payload | base64 -d | jq .predicate |
| 86 | +``` |
| 87 | + |
| 88 | +- **Shell image** |
| 89 | +cosign download attestation \ |
| 90 | + --platform=linux/amd64 \ |
| 91 | + --predicate-type=https://spdx.dev/Document \ |
| 92 | + ghcr.io/gitguardian/wolfi/valkey:latest-shell | jq -r .payload | base64 -d | jq .predicate |
| 93 | +``` |
0 commit comments