ci(image): publish the runtime container image #90
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/publish-runtime-image"
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?
Add .forgejo/workflows/build-image.yml, which builds the
runtimestage of oci-build/Dockerfile and pushes it to dev.a8n.run/pandoras-box/forgejo-cli, so thefj mcp serveHTTP web service can be deployed by pulling an image instead of building on the host. The publish train is decoupled by trigger exactly as build-binary.yml is: a push to main pushes the rollinglatesttag, av*tag push pushes the immutablevX.Y.Ztag (write-once, guarded by adocker manifest inspectprobe that fails if the tag already exists), and a manual workflow_dispatch builds the image and prints every tag and push it would perform without mutating the registry. GIT_SHA (plus FORGEJO_TRAIN / COMMIT_DATE / BUILD_DATE) is passed through, and the build step asserts org.opencontainers.image.revision on the built image before anything is pushed. Single-arch linux/amd64, matching the only Linux binary CI publishes.Update the docs the change makes false: CLAUDE.md claimed CI does not push an OCI image, the Dockerfile runtime comment said CI never pushes the image, and build-binary.yml said the runtime stage is not built anywhere. README.md and docs/deployment.md now describe the published tags and how to point compose at them; compose.mcp.yml deliberately keeps building from source as the local development path. A new check.yml guard fails if the retired claim reappears in any doc or comment.
#FJ-68