Skip to content

Commit 5971306

Browse files
Merge pull request #404 from IABTechLab/bmz-UID2-6764-clarify-tag-readme
docs: clarify <tag> in attestation verify command (UID2-6764)
2 parents 8c1dcca + 5e3b6b3 commit 5971306

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,17 @@ Every non-snapshot image published by this repo's release workflow ships with a
4747
To verify an image, install [`gh`](https://cli.github.com/) (≥ 2.49) and run:
4848

4949
```bash
50-
gh attestation verify \
51-
oci://ghcr.io/iabtechlab/uid2-optout:<tag> \
52-
--owner IABTechLab \
53-
--signer-repo IABTechLab/uid2-shared-actions
50+
gh attestation verify oci://ghcr.io/iabtechlab/uid2-optout:<tag> --owner IABTechLab --signer-repo IABTechLab/uid2-shared-actions
5451
```
5552

53+
`<tag>` refers to the **Docker image tag** — bare semantic version, no `v` prefix (e.g. `4.9.64`). Note that the corresponding GitHub release and git tag for the same build are named with a `v` (e.g. `v4.9.64`); the registry tag drops it by OCI convention.
54+
55+
**Where to find a tag:**
56+
57+
- **GitHub Packages** for this repo — [`uid2-optout` package](https://github.com/IABTechLab/uid2-optout/pkgs/container/uid2-optout) lists every published image tag and its digest.
58+
- Or take a [release](https://github.com/IABTechLab/uid2-optout/releases) name (e.g. `v4.9.64`) and drop the leading `v`.
59+
- To pin to an exact manifest instead of a mutable tag, use the digest form: `oci://ghcr.io/iabtechlab/uid2-optout@sha256:<digest>` (visible on the Packages page, or via `gh api /orgs/IABTechLab/packages/container/uid2-optout/versions`).
60+
5661
A successful run prints `✓ Verification succeeded!` followed by the SLSA provenance fields — including `sourceRepositoryDigest` (the source commit), `workflow.path` (the signing workflow), and the runner identity.
5762

5863
Snapshot tags (`-SNAPSHOT` suffix) deliberately skip attestation. `gh attestation verify` returns `no attestations found` against a snapshot — that's expected.

0 commit comments

Comments
 (0)