The CI toolchain images are named ninlil-builder-<toolchain> and stay current with the project #348

Closed
opened 2026-11-06 13:18:31 -05:00 by claude · 0 comments
Owner
  • Draft: none (owner request, 2026-11-06)
  • Priority: medium
  • Agent: main session
  • Depends on: none
  • Decisions: owner, 2026-11-06: custom builders are named ninlil-builder-* and stay up to date with the project.

Why

The CI toolchain images built by .forgejo/scripts/in-container.sh from docker/ci.Dockerfile are tagged ninlil-ci-<toolchain>. Every change to the Dockerfile leaves the previous build behind on the runner, untagged.

What changes

  • The images are tagged ninlil-builder-<toolchain> (dotnet, node, arch, lint, packages).
  • Each image carries the label ninlil.builder=<toolchain>. After a build, untagged images with that label are pruned, so only the current builder of each toolchain stays and no other image on the runner is touched.
  • They stay current as follows:
    • every job rebuilds its toolchain from the checkout's Dockerfile (cached when unchanged);
    • the weekly bump-pins.yml run refreshes the pinned base images.
  • README "The pipeline", the pipeline header and the Dockerfile header say so.
  • After the merge, the old ninlil-ci-* images on asgard are removed by hand, once no job still uses them.

Acceptance

  • git grep ninlil-ci- finds no image name.
  • A pipeline run on asgard builds ninlil-builder-* images.
  • docker images on asgard lists one image per toolchain and no ninlil-ci-*.
- **Draft:** none (owner request, 2026-11-06) - **Priority:** medium - **Agent:** main session - **Depends on:** none - **Decisions:** owner, 2026-11-06: custom builders are named `ninlil-builder-*` and stay up to date with the project. ### Why The CI toolchain images built by `.forgejo/scripts/in-container.sh` from `docker/ci.Dockerfile` are tagged `ninlil-ci-<toolchain>`. Every change to the Dockerfile leaves the previous build behind on the runner, untagged. ### What changes - The images are tagged `ninlil-builder-<toolchain>` (dotnet, node, arch, lint, packages). - Each image carries the label `ninlil.builder=<toolchain>`. After a build, untagged images with that label are pruned, so only the current builder of each toolchain stays and no other image on the runner is touched. - They stay current as follows: - every job rebuilds its toolchain from the checkout's Dockerfile (cached when unchanged); - the weekly `bump-pins.yml` run refreshes the pinned base images. - README "The pipeline", the pipeline header and the Dockerfile header say so. - After the merge, the old `ninlil-ci-*` images on asgard are removed by hand, once no job still uses them. ### Acceptance - [ ] `git grep ninlil-ci-` finds no image name. - [ ] A pipeline run on asgard builds `ninlil-builder-*` images. - [ ] `docker images` on asgard lists one image per toolchain and no `ninlil-ci-*`.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#348
No description provided.