Commit Graph
10 Commits
Author SHA1 Message Date
Dylan M. Taylor 13ddd1e279 ci: verify the actions lockfile in CI
Fails the build when .github/workflows/actions.lock stops matching the
workflows, or when a locked pin no longer verifies upstream, so a stale or
tampered lockfile cannot go unnoticed between dependency updates.
2026-11-12 07:23:09 -05:00
Dylan M. Taylor f09fc5438c ci: lock workflow actions through an actions.lock lockfile
Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
2026-11-12 07:19:14 -05:00
Dylan M. Taylor dff1cf833c ci: remove DigitalOcean Container Registry target (#15) 2026-11-08 20:02:08 -05:00
Dylan M. Taylor f7568062f8 ci: push font-preview-service to Docker Hub alongside DOCR and GHCR (#14) 2026-11-08 19:38:26 -05:00
Dylan M. Taylor 93353e8313 Publish through the shared docker build
The inline workflow pushed both images by digest in one invocation, which only
reaches the last repository, so the merge job failed with "not found" and DOCR
never received an image. The shared workflow builds each image separately and
also handles the hardened-image login and the multi-arch merge.
2026-11-07 15:57:52 -05:00
Dylan M. Taylor 0e977f9870 Publish the image to the artcraft DOCR registry and GHCR
Deployments now pull from registry.digitalocean.com/artcraft, so the image is
pushed there and mirrored to GHCR for existing consumers. Each platform is built
once and pushed by digest to both registries, and the merge job creates a
multi-arch manifest list per registry. Docker Hub publishing is gone;
DIGITALOCEAN_TOKEN with write access to the registry replaces the Docker Hub
credentials.
2026-11-07 13:41:48 -05:00
dependabot[bot] 55350a1296 ci(deps): bump docker/login-action
Bumps the actions group with 1 update: [docker/login-action](https://github.com/docker/login-action).


Updates `docker/login-action` from 4.6.0 to 4.7.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/dbcb813823bdd20940b903addbd779551569679f...81c6f93d4bc991e510b342a00b419b3bb4efc5c6)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-26 12:23:28 +00:00
Dylan M. Taylor 66da45130b Run the Sonar coverage tests as one shard
The shared workflow defaults to four nextest partitions. This crate has
one test, so shards 2-4 had nothing to run and failed. Set shards to 1
to keep a single coverage job.
2026-10-26 08:11:16 -04:00
Dylan M. Taylor 195d8bdb4a Fix Noto CJK licence path in the font fetch and image copy
The noto-cjk licence lives at Sans/LICENSE, not the repo root, so the
build failed when copying it. Fetch that path and copy it from there.
2026-10-26 08:06:46 -04:00
Dylan M. Taylor cfc1c362e1 Add font preview service with multi-arch Docker Hub publish
Scaffold an axum service with a health endpoint and build it from the
Docker Hardened Rust images. The image carries the full Google Fonts
and Noto font sets, fetched by CI at pinned upstream commits so the
repo stays small, with their licence files.

Publishes linux/amd64 and linux/arm64 native builds on Ubuntu 26.04
runners to dylanmtaylorartcraft/font-preview-service, and runs the
shared SonarCloud scan.
2026-10-26 08:00:56 -04:00