Skip to content

gateway: a signed release image, and a smoke test in CI - #16

Merged
gf5901 merged 1 commit into
mainfrom
gateway-image
Nov 14, 2026
Merged

gf5901 merged 1 commit into
mainfrom
gateway-image

Conversation

@gf5901

@gf5901 gf5901 commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

For v0.1.3: publishes the reference push gateway as a signed image, so vendors (first, Wizard on staging) can run a tagged release rather than a build of their own.

  • gateway/Dockerfile: same pinned base images as the relay's and the server's; distroless, uid 65532, read-only root. /var/lib/lz-gateway is created owned by 65532, so a named volume gets the right owner.
  • .github/workflows/images.yml: builds and signs ghcr.io/principlezerolabs/lantern-zero-gateway for linux/amd64 and linux/arm64.
  • gateway/smoke-test.sh and a gateway-image CI job: the Images workflow runs only on tags, so this catches a broken image before a release. Checks it starts read-only as 65532, the sealing key is 0600 in the volume, bad requests get 400/404, and the log has nothing from them.
  • RELEASING.md, gateway/README.md: the new image (verify it like the others; make the package public after v0.1.3). .dockerignore also excludes *.p8.

No server, client, or lz-proto changes: doesn't touch key handling.

(Per-address limits and apns-sandbox follow in a separate PR.)

🤖 Generated with Claude Code

gateway/Dockerfile builds lz-gateway like the relay's image (same pinned
bases, distroless, uid 65532), with /var/lib/lz-gateway owned by that
user so a named volume works as is. The Images workflow publishes it as
lantern-zero-gateway from the next tag. gateway/smoke-test.sh, run in
CI, checks the image starts read-only as 65532, keeps its sealing key
at 0600, rejects bad requests, and logs nothing about them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gf5901
gf5901 merged commit f0b60ff into main Nov 14, 2026
9 of 10 checks passed
@gf5901 gf5901 changed the title gateway: a signed release image, and a smoke test in CI gateway: signed release image, per-address limits, both APNs environments Nov 14, 2026
@gf5901 gf5901 changed the title gateway: signed release image, per-address limits, both APNs environments gateway: a signed release image, and a smoke test in CI Nov 14, 2026
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