Fork of kellnerd/harmony. github.com/kellnerd/harmony.git

ci: add containerfile and spindle workflows #1

Merged glerp.sullen.net
targeting main from glerp.sullen.net/harmony:ci/container-publish
Merged opened by and assigned to glerp.sullen.net
targeting main from glerp.sullen.net/harmony:ci/container-publish

Add Containerfile, .containerignore, and Spindle CI/publish workflows (ci.yml and publish.yml) for building and publishing multi-arch (linux/amd64, linux/arm64) container images to atcr.io/sullen.net/harmony.

  • Containerfile & .containerignore: Multi-stage denoland/deno:alpine-2.4.5 build that pre-caches runtime modules and runs deno task build on $BUILDPLATFORM with no target-arch RUN steps, defaulting to PORT=8080 and HARMONY_DATA_DIR=/data.
  • ci.yml: Runs deno fmt --check, deno lint, deno task check, deno test, multi-arch docker buildx build, and an offline (--network none) HTTP smoke test against /about.
  • publish.yml: Publishes :nightly on main pushes and :<tag> + :latest on v* tag pushes.
Commits 1

ci: add containerfile and spindle workflows