Repository navigation
docs(zopa): use the pullable ghcr.io/kanywst/zopa image - #34
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
Small docs change to
|
| - Issues: <https://github.com/dyokto/zopa/issues> | ||
| - v0.2.0 release: <https://github.com/dyokto/zopa/releases/tag/v0.2.0> | ||
| - OCI image: `ghcr.io/0-draft/zopa:v0.2.0` | ||
| - OCI image: `ghcr.io/kanywst/zopa:v0.8.0` |
There was a problem hiding this comment.
The image tag is now v0.8.0, but the line above still links the v0.2.0 release, and the article describes the v0.2.0 binary (~60 KB, proxy-wasm 0.2.1). A reader gets a different version from the one the article describes. Either pin the image to the release the article covers, or update the release link and the version-specific claims. I couldn't check from the repo that ghcr.io/kanywst/zopa:v0.8.0 exists, or that it's the same cosign-signed, multi-arch distroless image the text describes. The repo links point to dyokto/zopa while the image is under kanywst, so confirm that namespace is the published one.
| docker pull ghcr.io/0-draft/zopa:v0.2.0 | ||
| docker run --rm --entrypoint=ls ghcr.io/0-draft/zopa:v0.2.0 -lh /zopa.wasm | ||
| docker create --name zopa ghcr.io/kanywst/zopa:v0.8.0 && \ | ||
| docker cp zopa:/zopa.wasm . && docker rm zopa |
There was a problem hiding this comment.
The docker pull line is gone, and the docker create + docker cp extraction is a behaviour change. It's fine for a distroless image, since the old --entrypoint=ls couldn't have run there. But the next line ("staging /zopa.wasm from an initContainer") and the cosign claim above are unchanged. Consider adding a cosign verify example or dropping the claim, since the image path changed. Also, docker create without a command may fail if the image has no default CMD or ENTRYPOINT. Pass a placeholder command, e.g. docker create --name zopa IMAGE /zopa.wasm.
|
|
| ```bash | ||
| docker pull ghcr.io/0-draft/zopa:v0.2.0 | ||
| docker run --rm --entrypoint=ls ghcr.io/0-draft/zopa:v0.2.0 -lh /zopa.wasm | ||
| docker create --name zopa ghcr.io/kanywst/zopa:v0.8.0 /zopa.wasm && \ |
There was a problem hiding this comment.
The image now lives under ghcr.io/kanywst/zopa, but every other link in the post (repo, issues, release at lines 313-315) points to dyokto/zopa, and #33 just moved the links to that org. The post doesn't explain why the image sits under a personal namespace, and a reader can't tell whether it's the official one. The post also says the image is cosign keyless-signed (line 262). A keyless signature is bound to the identity that built the image, so a verifier configured for the dyokto repo's workflow would fail against this one. Please check that kanywst/zopa:v0.8.0 exists, is publicly pullable, and is signed by the identity you expect. If ghcr.io/dyokto/zopa exists, use it.
| docker cp zopa:/zopa.wasm . && docker rm zopa | ||
| ``` | ||
|
|
||
| The v0.2.0 image this post was written against was published under a namespace that no longer serves pulls, so the command uses v0.8.0, the newest image that does. The image has no shell and no default command; the trailing `/zopa.wasm` is only there because `docker create` requires one. |
There was a problem hiding this comment.
These are factual claims that read as recalled, not sourced: "no longer serves pulls", "v0.8.0 is the newest image that does", and "no shell and no default command". Nothing in the PR links to a source for them. "Newest" also goes stale as soon as a later tag is published.
The post now mixes versions. It was written against v0.2.0, and the release link at line 315 still points to v0.2.0, while the image is v0.8.0. Nothing says that the /zopa.wasm path, the "Multi-arch" claim and the latency numbers still hold for v0.8.0. Either verify them against v0.8.0 or state that they were measured on v0.2.0.
The first sentence is also a maintenance note about the image registry, not about zopa. It would fit better as a short update note or a PR description than as post prose.
|
Reviewed the one-file change to articles/introducing-zopa.md. I found two problems, both inline.
There is no EN/JA counterpart for this article, so parity doesn't apply. The change touches no workflows. |
|
Moved the note into a dated update block and dropped "newest". What it states was checked against the registry: |
| docker cp zopa:/zopa.wasm . && docker rm zopa | ||
| ``` | ||
|
|
||
| > **Update (2026-12-03):** the v0.2.0 image this post used is no longer pullable, and the repository has since moved to `dyokto/zopa`. Releases up to v0.8.0 were published to `ghcr.io/kanywst/zopa`, so the command above uses v0.8.0 (multi-arch, `/zopa.wasm` at the root, no default command, hence the placeholder argument to `docker create`). The size and latency numbers in this post were measured on v0.2.0. |
There was a problem hiding this comment.
The update is dated 2026-12-03, but this PR was opened on 2026-12-02, so the date is in the future. Use the actual date or the merge date.
The note also makes several claims that read as recalled, not sourced: the v0.2.0 image is no longer pullable, releases up to v0.8.0 went to ghcr.io/kanywst/zopa, v0.8.0 is multi-arch, /zopa.wasm sits at the image root, and there is no default command. Please confirm each against the registry, for example with docker buildx imagetools inspect.
Line 261 still says the image is "cosign keyless-signed", and that was written about v0.2.0. A repo move from 0-draft to dyokto, with images published under a personal namespace, may change the signing identity. Either verify it for v0.8.0 or qualify the sentence.
| - Issues: <https://github.com/dyokto/zopa/issues> | ||
| - v0.2.0 release: <https://github.com/dyokto/zopa/releases/tag/v0.2.0> | ||
| - OCI image: `ghcr.io/0-draft/zopa:v0.2.0` | ||
| - OCI image: `ghcr.io/kanywst/zopa:v0.8.0` |
There was a problem hiding this comment.
This links the v0.8.0 image, but the neighbouring line still points to the v0.2.0 release and the article body still describes v0.2.0 behaviour. The reference list now mixes versions without saying so. Either label the entry as the current pullable image or keep both versions explicit.
|
Two findings on articles/introducing-zopa.md, both inline.
The Links section now mixes v0.2.0 and v0.8.0 references. |
|
Ran |
| docker cp zopa:/zopa.wasm . && docker rm zopa | ||
| ``` | ||
|
|
||
| > **Update (2026-12-03):** the v0.2.0 image this post used is no longer pullable, and the repository has since moved to `dyokto/zopa`. Releases up to v0.8.0 were published to `ghcr.io/kanywst/zopa`, so the command above uses v0.8.0 (multi-arch, keyless-signed by the zopa release workflow, `/zopa.wasm` at the root, no default command, hence the placeholder argument to `docker create`). The size and latency numbers in this post were measured on v0.2.0. |
There was a problem hiding this comment.
The update is dated 2026-12-03, but the current date is 2026-12-02, so it is stamped a day ahead. Use the actual merge or publish date.
The claims in the parenthetical are not backed by anything in the repo or the PR. I confirmed that a v0.8.0 release exists in dyokto/zopa. I could not confirm that ghcr.io/kanywst/zopa:v0.8.0 is pullable. A listing of the package's versions returned edge and bare sha256-… tags, with no v0.8.0 tag among them. I also could not confirm multi-arch, keyless signing or the /zopa.wasm path for that tag. Please check the tag with docker manifest inspect and cosign verify before publishing it.
Line 262 still says "distroless OCI image ... cosign keyless-signed" without a version, and the size and latency sections still describe v0.2.0. The note covers this, but nothing links v0.8.0 to those numbers.
|
One finding, inline on articles/introducing-zopa.md:268. The update note is dated 2026-12-03, which is a day ahead of the current date. The v0.8.0 image tag and its multi-arch and keyless-signing claims are also unverified. Only the v0.8.0 release itself was confirmed. Nothing else in the diff is a problem. |
ghcr.io/0-draft/zopa:v0.2.0can't be pulled anymore (the registry answers 403 for the 0-draft namespace), andghcr.io/kanywst/zopahas no v0.2.0 tag. Switch toghcr.io/kanywst/zopa:v0.8.0, which pulls.The image is distroless with no
ls, sodocker run --entrypoint=lsnever worked. Replaced with thedocker create/docker cppattern from the zopa README;/zopa.wasmis in the v0.8.0 image.