ci: verify pushed OCI digest and drop dead BUILD_MODE arg #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/oci-publish-verify-digest-LINKS-18"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Hardens the OCI publish workflow with a post-push digest verification step, and removes a dead build-arg left over from the standalone/saas unify.
This came out of the LINKS-18 investigation. The original premise (a successful build that did not publish) turned out to be wrong: run #136 publishes correctly to
dev.a8n.run/a8n-tools-private/rusty-links. The apparent staleness was caused by inspecting the deprecateda8n-tools/rusty-linkspath, which nothing publishes to since the registry owner moved to thea8n-tools-privateorg (wherelets-chatalso lives). Confirmed from the run #136 log viafj actions logs 136(pushing manifest for dev.a8n.run/a8n-tools-private/rusty-links:v0.4.0 ... done).Changes
build-oci-image.yml: capture the pushed digest withdocker buildx build --iidfile, then add a "Verify pushed image" step that asserts every pushed tag resolves in the registry to that exact digest, failing the job on a mismatch or a missing tag. This makes the canonical publish target self-checking and guards against the silent-no-op publish class that LINKS-18 was opened to catch.examples/compose.yml: drop theBUILD_MODE: standalonebuild-arg. It is a leftover from before the unify (LINKS-13); the Dockerfile no longer acceptsBUILD_MODE, and noBUILD_MODEreference remains anywhere in the repo.Notes
.env.standalone.example/.env.saas.exampleare unaffected.docker buildx imagetools inspect --format "{{.Manifest.Digest}}"against the just-pushed tags; it runs after login so it has registry read access.dx and dioxus versions are incompatible+wasm-opt SIGABRTerrors seen in the run #136 build log, and repointing any external consumer or docs that still reference the deada8n-tools/rusty-linksimage path.#LINKS-18