Skip to content

docs: rewrite the docs for bake.yml and add a 3.x → 4.0.0 migration guide - #86

Draft
Ilyes512 wants to merge 8 commits into
4.0/hardeningfrom
4.0/docs
Draft

Ilyes512 wants to merge 8 commits into
4.0/hardeningfrom
4.0/docs

Conversation

@Ilyes512

@Ilyes512 Ilyes512 commented Nov 9, 2026 •

Copy link
Copy Markdown
Member
  • docs/bake.md replaces actions.md, php.md and go-cli.md. It covers getting specs.hcl (bake.yml supplies it in CI; a local build or PR test fetches it at the version the uses: line pins), local builds, the CI variables, the functions, and complete examples for utils, php84 (3 flavours × 2 stages) and specs-cli (variants). All examples were checked with bake --print.
  • Rewritten: pipeline.md, workflows.md, testing-images.md and releasing.md. base-images.md gets link and wording fixes.
  • docs/migration-4.0.md: before/after, an input → HCL table, what was removed, what publishes differently (no v-prefixed tag, a semver set for every image, no repository fallback for the title, description and licenses), and the new required check image / Image.
  • The update-project prompt no longer bumps self-references.
  • The PHP example no longer tags the builder as /builder_nodejs and /node: feat(php)!: stop publishing the builder_nodejs and node aliases #89 stopped publishing those names.
  • The migration guide names 3.1.0 as the last 3.x release.

Part of the 4.0.0 stack (bake variant of the plan in #80). Merge bottom to top: #82 → #83 → #84 → #85 → #86 → #88.

@Ilyes512
Ilyes512 added this pull request to stack #87 November 9, 2026 12:06
@Ilyes512 Ilyes512 changed the title Rewrite the docs for bake.yml and add a 3.x to 4.0.0 migration guide docs: rewrite the docs for bake.yml and add a 3.x → 4.0.0 migration guide Nov 9, 2026
@Ilyes512
Ilyes512 force-pushed the 4.0/docs branch 3 times, most recently from d430b4c to 5fb7800 Compare November 10, 2026 20:44
@Ilyes512
Ilyes512 force-pushed the 4.0/docs branch 3 times, most recently from 703fda5 to f4bc9c0 Compare November 20, 2026 23:44
- docs/bake.md replaces actions.md, php.md and go-cli.md: the consumer's
  docker-bake.hcl, the variables CI sets, the specs.hcl functions, and
  complete examples for a plain image, a PHP image and a Go CLI with
  variants.
- pipeline.md describes plan, build, publish and status, and the frozen
  definition; workflows.md documents bake.yml and the changed
  notify-slack-tag.yml; testing-images.md uses docker/bake-action with
  load: true; releasing.md drops the internal reference bump and
  explains SPECS_HCL_SHA256.
- docs/migration-4.0.md has the before and after of a consumer's
  workflow, the mapping from every old input to HCL, what was removed,
  what publishes differently, and the new required check.
- The update-project prompt no longer bumps self-references, since there
  are none left.
bake.yml now reads bake/specs.hcl from its own version, so the docs no
longer tell consumers to copy it, drop the specs-file input and the
SPECS_HCL_SHA256 check, and show how a local build or a pull request
test fetches it to .specs.hcl at the version the workflow's uses: line
pins.
Per-platform definitions and fixed artifact names in the pipeline, no repository fallbacks or IS_STABLE variable, no reserved secret names, and the publish check in test-bake.yml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant