Skip to content

ci-image: let base { registry } name Chainguard FIPS images #5471

Closed

Description

@lex00

A Chainguard org with FIPS images can build a product's CI image on them through base: { registry }. Today the image names are fixed to node and wolfi-base, and Chainguard names FIPS images with a -fips suffix.

Epic: #5452. Found in #5447 (SC-13). Follows #5445.

What exists, checked at chant cee8937 (the ci-hardening branch)

  • ciImageBase (ci-image.ts) builds { registry } references as ${registry}/node:<tag> and ${registry}/wolfi-base:<tag> (registryImage). node and wolfiBase take a tag, a tag with a digest, or the full reference, but the full reference must start with ${registry}/node: or ${registry}/wolfi-base:. Any other image name is refused.
  • The CI products page (docs/.../concepts/ci-products.mdx) says "FIPS images are an Enterprise feature of this route", which reads as if the route can select one.
  • Chainguard's FIPS docs name FIPS images with -fips, for example cgr.dev/<org>/chainguard-base-fips. The free Starter plan has no FIPS images (ci-image: base: "chainguard" switches a product's CI image to Chainguard bases #5445, comment of 2026-11-21).

What it should be

  • { registry } takes the image name as well as the tag for each of the two images, for example { registry: "cgr.dev/<org>", node: "node-fips:22-dev", wolfiBase: "chainguard-base-fips:latest" }, or the full reference under the registry with any image name. The defaults stay node:latest-dev and wolfi-base:latest.
  • Before building, check Chainguard's catalogue for the FIPS Node image's name and for a FIPS image that can stand in for wolfi-base in the fetch stage (it needs a shell, tar and sha256sum), and record them here. If no FIPS Node image exists, say so in the docs and stop at the naming change.
  • The labels org.opencontainers.image.base.name and .base.digest carry the chosen names.
  • chant release images --repin finds the new reference forms.
  • The docs say FIPS needs the Enterprise tier and name the keys to set, and do not imply the default base: "chainguard" is FIPS.

Done when

  • ci-image tests build a Dockerfile from a FIPS image name with and without a digest, and refuse a reference outside the registry.
  • --repin moves such a reference in a fixture.
  • The CI products page shows the FIPS form.

Activity

  1. added
    epic:ci-hardening
    on Nov 22, 2026
  2. lex00 commented on Nov 22, 2026

    @lex00
    ContributorAuthor

    The Chainguard catalogue was not read for this change, so the name of a FIPS Node image, and of a FIPS image that can stand in for wolfi-base in the fetch stage (it needs a shell, tar and sha256sum), are still unverified and are not in the code or the docs. What is built is the naming change: node and wolfiBase take a tag, <image>:<tag>, or the full reference under the registry, each with an optional digest, so the user names the images and tags their org holds. The docs say that FIPS images depend on the org's plan with Chainguard and that base: "chainguard" is not FIPS. The tests use made-up image names as fixtures. Checking the catalogue and recording the names here is still open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:ci-hardening

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions