Skip to content

feat(docker): add multi-arch Dockerfile, PG18 smoke script, and Docker Hub publish workflow - #109

Merged
Ozwasyd merged 1 commit into
mainfrom
feat/docker-publish-pipeline
Dec 1, 2026
Merged

Ozwasyd merged 1 commit into
mainfrom
feat/docker-publish-pipeline

Conversation

@Ozwasyd

@Ozwasyd Ozwasyd commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add root Dockerfile and .dockerignore for multi-arch (linux/amd64, linux/arm64) FsusBlog v2 container images sealed via tools/build-release.sh and tools/verify-release.py (with BuildKit --mount=type=secret,id=npm_token, non-root UID 1654, and libfontconfig1 + libgssapi-krb5-2 runtime native dependencies).
  • Add tools/docker-smoke.sh to verify OCI labels, secret non-leakage in image history, payload.sha256, native library linkage (libfsus_author_heading.so, libSkiaSharp.so), isolated PostgreSQL 18 CLI plan/apply/verify, Server HTTP/AEDS endpoints, and container restart recovery.
  • Add .github/workflows/docker-publish.yml (all actions SHA-pinned):
    • Runs docker-verify (linux/amd64 build + tools/docker-smoke.sh) on container/build-file PRs and workflow_dispatch.
    • Runs multi-arch (linux/amd64,linux/arm64) publish to Docker Hub (docker.io/<user>/fsusblogserver) on v* tag pushes (auto-updating :latest for stable vX.Y.Z tags) or explicit workflow_dispatch (push=true), failing closed when DOCKERHUB_TOKEN secret is missing.
  • Synchronize deploy/README.md, docs/development/ci.md, and README.md.

Verification

  • python3 -B tools/check-docs.py (59 active docs passed)
  • actionlint v1.7.7 (0 warnings, 0 errors)
  • bash -n on all *.sh under tools/, tests/, deploy/
  • Local docker buildx build --platform linux/arm64 from repo root + tools/docker-smoke.sh (passed against isolated postgres:18-alpine)
  • Multi-arch tools/docker-smoke.sh on ozwasyd/fsusblogserver:v2.1.0 (linux/arm64 + linux/amd64)

@Ozwasyd
Ozwasyd merged commit 8282725 into main Dec 1, 2026
5 checks passed
@Ozwasyd
Ozwasyd deleted the feat/docker-publish-pipeline branch December 1, 2026 04:36
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