Skip to content

docs: correct release image tag (no v prefix) + document read:packages#318

Merged
icebergai-review-bot[bot] merged 1 commit into
mainfrom
fix/releasing-doc-verify-tag
Jul 21, 2026
Merged

docs: correct release image tag (no v prefix) + document read:packages#318
icebergai-review-bot[bot] merged 1 commit into
mainfrom
fix/releasing-doc-verify-tag

Conversation

@richardmhope

Copy link
Copy Markdown
Collaborator

Cutting v0.1.0-beta.1 (release v0.1.0-beta.1) surfaced two documentation bugs that break the documented verify/deploy flow. Both are doc-only.

1. The release image tag has no v prefix

docker/metadata-action's {{version}} strips the leading v from the git tag, so the pushed image is ghcr.io/icebergai/icebergebs:0.1.0-beta.1not :v0.1.0-beta.1. Confirmed against the published package (tags: 0.1.0-beta.1, sha-1240dab). Every verify/deploy example used the v-prefixed form:

  • cosign verify …:v0.1.0-beta.1MANIFEST_UNKNOWN
  • --set image.tag=v0.1.0-beta.1ImagePullBackOff

Corrected in docs/RELEASING.md, DEPLOYMENT.md (prose + embedded rendered-template + install snippet), the Helm chart (deployment.yaml comment + required message, values.yaml comment), and the docs-site mirror website/docs/deployment.md. The cosign @refs/tags/v identity regexp is left as-is — it matches the git tag ref, which correctly keeps its v.

2. read:packages prerequisite for verification

GHCR release packages are private by default, so cosign verify / gh attestation verify need a token with the read:packages scope (separate from repo access — a repo-scoped token authenticates but is denied the manifest pull). Documented the prerequisite + login step in RELEASING.md.

Both checks were run successfully against the real release after correcting the tag:

  • cosign: claims validated, transparency-log verified, cert chain verified
  • gh attestation: SLSA provenance v1, builder release.yml@refs/tags/v0.1.0-beta.1, commit 1240dab

Not changed

🤖 Generated with Claude Code

Cutting v0.1.0-beta.1 surfaced two doc bugs that break the documented
verify/deploy flow:

1. The image tag has no `v`. `docker/metadata-action`'s {{version}} strips the
   leading `v` from the git tag, so the pushed image is `…:0.1.0-beta.1`, not
   `…:v0.1.0-beta.1`. Every verify/deploy example used the `v`-prefixed form,
   which fails with MANIFEST_UNKNOWN (verify) / ImagePullBackOff (deploy).
   Fixed the examples in RELEASING.md, DEPLOYMENT.md (prose + embedded template
   + install snippet), the Helm chart (deployment.yaml comment + `required`
   message, values.yaml comment), and the docs-site mirror. The cosign
   `@refs/tags/v` identity regexp is left as-is — it matches the git tag ref,
   which correctly keeps its `v`.

2. GHCR release packages are private by default, so `cosign verify` /
   `gh attestation verify` need a token with the `read:packages` scope (separate
   from repo access). Documented the prerequisite + the login step in
   RELEASING.md's "Verifying a release" section.

Doc-only; no app behaviour change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@icebergai-review-bot icebergai-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IcebergAutoReview

Verdict: approve

The documentation corrections match the release workflow’s actual tag generation and preserve the correct v-prefixed Git identity regex. The change is focused, secure, and internally consistent.

Findings

  • No blocking findings.

Validation

  • Inspected complete main...HEAD diff and affected release/deployment context.
  • Confirmed main is the direct ancestor; PR contains one commit modifying only the five stated files.
  • Verified .github/workflows/release.yml uses type=semver,pattern={{version}}.
  • Searched for remaining incorrect v-prefixed deployment/verification examples; only intentional Git-tag and synthetic test references remain.
  • Ran git diff --check successfully.
  • Attempted an offline Helm render, but Helm is not installed locally; current-head CI is green and authoritative for chart rendering.

Residual risks / optional notes

  • None identified.

Automated review by Codex ceeea4ca84a2 using IcebergAutoReview.

@icebergai-review-bot
icebergai-review-bot Bot merged commit 49af612 into main Jul 21, 2026
11 checks passed
@icebergai-review-bot
icebergai-review-bot Bot deleted the fix/releasing-doc-verify-tag branch July 21, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant