1 Commits

Author SHA1 Message Date
vikingowl dd16c15029 build(release): publish multi-arch Docker images to GHCR
Extend the existing GoReleaser pipeline (linux/darwin/windows ×
amd64/arm64 archives + Gitea release) with multi-arch Docker images
published to ghcr.io/vikingowl91/gnoma.

- Two per-arch `dockers:` blocks build linux/amd64 + linux/arm64 via
  buildx, copying the GoReleaser-built static binary into a distroless
  base (gcr.io/distroless/static:nonroot — no shell, runs as UID 65532,
  ships with CA certs so HTTPS provider calls work).
- `docker_manifests:` stitch them into multi-arch :{Version} and
  :latest manifests.
- OCI labels populated (title, source, url, version, revision, created,
  licenses).
- Dockerfile uses /workspace as cwd so `docker run -v "$PWD:/workspace"`
  mirrors the local invocation model.

Prerequisite: build host needs `docker login ghcr.io` with a PAT
holding `write:packages` for the vikingowl91 namespace.
2026-05-20 03:13:53 +02:00