fristy 4ac07da223
build / build (26.10) (pull_request) Successful in 3m4s
build / build (24.04) (pull_request) Successful in 3m4s
build / build (26.04) (pull_request) Successful in 3m4s
chore: let Renovate merge its own updates
minor, patch, pin and digest updates automerge once the branch is green and the
release is two days old. major and breaking updates still wait for a human:
matchIsBreaking turns automerge back off, and majors are not in the automerge
rule at all.

trivy skips the release-age wait because scanner fixes matter immediately, and
OSV alerts automerge with no age check either.

tea now resolves through gitea-releases: github.com/gitea/tea does not exist, so
every run reported a lookup failure for it. nfpm moves to 2.49.0, which Renovate
would have held back for another day.

Signed-off-by: fristyxd <gpg@fristy.dev>
2026-11-12 12:42:23 +03:00

Contributing

Thanks for taking a look. This is a personal instance, so keep changes small and explain the why.

Adding or bumping a tool

  1. Add a pinned ARG in dockerfiles/ubuntu.dockerfile with a Renovate annotation above it, for example:

    # renovate: datasource=github-releases depName=jqlang/jq
    ARG JQ_VERSION=1.7.1
    
  2. Install it in its own RUN layer, verify a checksum when the upstream publishes one, and finish the layer with the tool's --version so a broken download fails the build instead of the first workflow run.

  3. Extend tests/default.sh so the smoke test fails when the tool disappears.

  4. Open a pull request. build.yaml builds all three base tags and runs the smoke test; nothing is published from a pull request.

Ground rules

  • Pin everything. No latest tags, no downloads without a checksum when one is available. Renovate keeps the pins fresh.
  • One concern per layer. It keeps the layer cache usable and makes failures obvious.
  • Do not drop tools that workflows rely on without changing the workflows in the same pull request.
  • Architecture: the build matrix is linux/amd64. The Dockerfile maps TARGETARCH for arm64 as well, so keep it working when you add downloads.
  • Commits: short imperative subject, body explains the reason. Add Signed-off-by: if you can (DCO-style, no CLA).

Branch names

We follow Conventional Branch:

feat/<slug>     new image tag, new tool baked in
fix/<slug>      broken build, wrong version, checksum failure
chore/<slug>    versions, workflows, docs
docs/<slug>     README, CONTRIBUTING, SECURITY

No long-lived branches besides main; delete the branch after the merge.

Versioning

The repository follows Semantic Versioning 2.0.0 for its own releases (vMAJOR.MINOR.PATCH git tags, published from release.yaml):

  • MAJOR — a tag disappears, an image stops shipping a tool workflows depend on.
  • MINOR — a new base tag, a new tool or a new cache layout.
  • PATCH — version bumps of the tools already inside, rebuilds for base updates.

The image tags themselves (ubuntu-24.04, ubuntu-latest, …) follow the Ubuntu release they are built on and are not versioned. IMAGE_VERSION records the SemVer tag when the build comes from a v* tag, otherwise v0.0.0-dev.<sha>.

Changes are recorded in CHANGELOG.md, which follows Keep a Changelog 1.1.0.

Testing locally

docker build -f dockerfiles/ubuntu.dockerfile --build-arg BASE_IMAGE_TAG=26.10 -t runner-images:test .
docker run --rm -i runner-images:test bash -s -- 26.10 < tests/default.sh

Replace 26.10 with 26.04 or 24.04 to check the other bases.

Reporting problems

Bugs and breakage: normal issue. Security problems: see SECURITY.md.

S
Description
Runner images for our fristea actions runners.
Readme MIT
171 KiB
1 Stars 3 Watchers 0 Forks
Languages
Dockerfile 86.3%
Shell 13.7%