You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
image: publish a Chainguard variant and pick it with one config key #405
sql-yodeler's release should publish a Chainguard variant of its CI image beside the Debian one, and a project's config should pick between them with one key.
Checked against the code while building this. Three claims differ.
The issue says the key picks the variant yodel ci renders when ci.image is not set, with Debian as the default. Without ci.image, yodel ci renders the stock node:22-bookworm container and runs npm ci in each job. That is not the Debian product image. The build keeps it as the behaviour when the key is absent, so no existing project changes. ci.imageBase: "debian" picks the Debian product image explicitly, and "chainguard" the Chainguard one.
The issue says the lint job's node:22-bookworm container is left as it is. In the rendered pipelines the lint job takes the same container as every other job, so with ci.image set it already runs in the product image (lintJob in src/ci/render.ts uses the toolchain's image). The stock container appears only when neither ci.image nor ci.imageBase is set. The docs say that. The lint job of this repository's own ci.yml uses setup-node and neither image.
The package carried no image digests, so a key could not name an image by digest. The release's package build now writes dist/image-digests.json with both digests (the npm publish target pins it), and the key reads it. A yodel with no such file, such as a clone or the yodel inside the image, takes the digest the committed pipelines already name, so yodel ci --check still runs in the image.
The key is ci.imageBase, camelCase as refGate and approvalRules are in yodel.config.ts.
Activity
lex00 commentedon Nov 22, 2026
Checked against the code while building this. Three claims differ.
The issue says the key picks the variant
yodel cirenders whenci.imageis not set, with Debian as the default. Withoutci.image,yodel cirenders the stocknode:22-bookwormcontainer and runsnpm ciin each job. That is not the Debian product image. The build keeps it as the behaviour when the key is absent, so no existing project changes.ci.imageBase: "debian"picks the Debian product image explicitly, and"chainguard"the Chainguard one.The issue says the lint job's
node:22-bookwormcontainer is left as it is. In the rendered pipelines the lint job takes the same container as every other job, so withci.imageset it already runs in the product image (lintJobin src/ci/render.ts uses the toolchain's image). The stock container appears only when neitherci.imagenorci.imageBaseis set. The docs say that. The lint job of this repository's own ci.yml usessetup-nodeand neither image.The package carried no image digests, so a key could not name an image by digest. The release's package build now writes dist/image-digests.json with both digests (the npm publish target pins it), and the key reads it. A yodel with no such file, such as a clone or the yodel inside the image, takes the digest the committed pipelines already name, so
yodel ci --checkstill runs in the image.The key is
ci.imageBase, camelCase asrefGateandapprovalRulesare in yodel.config.ts.feat(ci-image): render the Chainguard image's apk packages at chant's…
chore: pin chant 0.124.114 and the sql lexicon 0.124.103 (#405)
fix(project): refuse sql.dialect mysql, which yodel does not handle y…
feat(image): publish a Chainguard CI image beside the Debian one, pic…
docs: ci.imageBase, the two CI image sets and building both locally (#…
fix(lint): lint scripts/image-digests.mjs without the type-checked pr…
ci: build and check the Chainguard image in the image job (#405)
feat(ci-image): render the Chainguard image's apk packages at chant's…
chore: pin chant 0.124.114 and the sql lexicon 0.124.103 (#405)
fix(project): refuse sql.dialect mysql, which yodel does not handle y…
docs: leave the released 0.14.0 notes as released; the next release's…
fix(templates): keep the templates' chant and sql lexicon pins until …